HTML color codes for lavender - hexadecimal + RGB

Discover all HTML codes for the color lavender - hexadecimal, rgb, hsl, hsv, and cmyk, as well as different combinations, schemes, temperatures, hues, and types of lavender color.

#B57EDC

códigos del color lavender

Complementary color of lavender:

The complementary color of a color is the opposite of it on the color wheel (chromatic circle)

#a5dc7e

Monochromatic scheme of the color lavender

#4b1c71
#68378e
#8653ad
#a56fcc
#c08ee1
#d6aeeb
#ebcff5
#fff0ff

This scheme is based on the color lavender and is composed of different hues, tones, and shades, both dark and light.

HTML and CSS codes for the color lavender

formatcode
hex#b57edc
rgbrgb(181,126,220)
hslhsl(276,58%,68%)
cmykcmyk(18, 43, 0, 14)
hsvhsv(276, 43%, 87%)

What is the lavender color in RGB format?

The lavender color in RGB format is composed of (181 in the red channel), (126 in the green channel), and (220 in the blue channel).

What is the lavender color in CMYK format?

It is composed of (18%) cyan, (43%) magenta, (0%) yellow, and (14%) black / key.

What is the composition of the lavender color in HSL?

It is composed of (276°) hue, (58%) saturation, and (68%) lightness.

What is the lavender color in HSV format?

The lavender color in HSV format is composed of (276°) hue, (43%) saturation, and (87%) value.

Analogous scheme of the color lavender

Analogous colors are obtained from the two closest colors within the color wheel.

#b77edd
#dd7ed3
#887edd

Triadic scheme of the color lavender

The triadic scheme is obtained from 3 colors equally spaced from each other within the color wheel

#b57edc
#dcb57e
#7edcb5

Tetradic scheme of the color lavender

This color scheme is obtained by using two pairs of opposing colors on the color wheel in a rectangular shape.

#b57edc
#dc867e
#a5dc7e
#7ed4dc

Split complementary scheme of the color lavender

This color scheme is obtained by using two pairs of opposing colors on the color wheel in a rectangular shape.

#b57edc
#dc7e92
#7edc8f

Tints of the color lavender

Tints are obtained from the base color lavender up to reaching white, finding in between shades of pastel colors.

#b57edc
#c498e3
#d3b2ea
#e1cbf1
#f0e5f8
#ffffff

Shades of the color lavender

These shades are obtained from the base color lavender up to reaching black.

#b57edc
#9165b0
#6d4c84
#483258
#24192c
#000000

Check the contrast of the color lavender.

You can now validate the contrast relationship of the color lavender, whether using it as a background color or as a text color.

Change the text color.
Contrast ratio: 3.01

Contrast ratio test of the color lavender as a background

Change the background color
Contrast ratio: 5.19

Contrast ratio test of the color lavender as text.

How to implement the color lavender in HTML and CSS

Here are examples of code to use the lavender on your web page. Remember that you can implement the color in HTML using color codes such as hexadecimal, RGB, or HSL, and also directly with the color name written in English (as long as it is natively supported by HTML).

Background color lavender in HTML - CSS.

To set the background color, you can use inline styles or apply them in a CSS stylesheet

<div style="background:#B57EDC;"> Color lavender as the background of a div.</div>
/* Color lavender as the background of the body tag with CSS. */
body {
background: #B57EDC;
}

To set the text color lavender in HTML - CSS.

To set the text color, you can use inline styles or apply them in a CSS stylesheet.

<p style="color:#B57EDC;"> Color lavender as the text color.</p>
p {
color:#B57EDC ;
}