#D08EF4#D08EF4
#D08EF4 is a light, vivid violet. Relative luminance 0.393; OKLCH L 75.0% C 0.157 H 312.8°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D08EF4 |
|---|---|
| RGB | rgb(208, 142, 244) |
| HSL | hsl(279, 82%, 76%) |
| HSV | hsv(279, 42%, 96%) |
| CMYK | cmyk(14.8%, 41.8%, 0%, 4.3%) |
| CIE-LAB | lab(68.96, 42.76, -41.50) |
| CIE-LCH | lch(68.96, 59.59, 315.86°) |
| OKLab | oklab(74.98% 0.1066 -0.1149) |
| OKLCH | oklch(74.98% 0.157 312.8) |
| XYZ | xyz(52.0118, 39.2886, 90.4139) |
| Luminance | 0.3929 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.37
Baby Purple
#CA9BF7
ΔE00 3.68
Pastel Purple
#CAA0FF
ΔE00 5.16
Lilac (survey)
#CEA2FD
ΔE00 5.17
Lavender (survey)
#C79FEF
ΔE00 5.23
Violet (CSS)
#EE82EE
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D08EF4 #B2F48E
analogous
#9D8EF4 #D08EF4 #F48EE5
triadic
#D08EF4 #F4D08E #8EF4D0
tetradic
#D08EF4 #F49D8E #B2F48E #8EE5F4
square
#D08EF4 #F49D8E #B2F48E #8EE5F4
split-complementary
#D08EF4 #E5F48E #8EF49D
monochromatic
#A21EE9 #B956EF #D08EF4 #E7C6F9 #F3E3FC
Accessibility & contrast
On white
2.37
#D08EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.86
#D08EF4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D08EF4
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D08EF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D08EF4 | 1.00 | 2.37 | 8.86 | 8.86 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA5F8
Deuteranopia (green-blind)
#8BAAF1
Tritanopia (blue-blind)
#CD9DB5
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #d08ef4; /* rgb */ color: rgb(208, 142, 244); /* oklch */ color: oklch(75.0% 0.157 312.8);
Tailwind
colors: {
custom: {
50: '#e0b0f8',
500: '#d08ef4',
950: '#000000',
},
}SCSS
$custom: #d08ef4; $custom-light: #e0b0f8; $custom-dark: #000000;
JSON
{
"hex": "#d08ef4",
"rgb": {
"r": 208,
"g": 142,
"b": 244
},
"hsl": {
"h": 278.824,
"s": 82.258,
"l": 75.686
},
"oklch": {
"l": 0.74979,
"c": 0.15676,
"h": 312.8
},
"luminance": 0.39288
}Semantic roles & 50–950 ramp
primary
#D08EF4
secondary
#E1F4D7
accent
#DF0753
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085