#D08DF2#D08DF2
#D08DF2 is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.7% C 0.156 H 313.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #D08DF2 |
|---|---|
| RGB | rgb(208, 141, 242) |
| HSL | hsl(280, 80%, 75%) |
| HSV | hsv(280, 42%, 95%) |
| CMYK | cmyk(14%, 41.7%, 0%, 5.1%) |
| CIE-LAB | lab(68.66, 42.88, -40.88) |
| CIE-LCH | lch(68.66, 59.24, 316.37°) |
| OKLab | oklab(74.72% 0.1076 -0.1131) |
| OKLCH | oklch(74.72% 0.156 313.6) |
| XYZ | xyz(51.5617, 38.8716, 88.7739) |
| Luminance | 0.3887 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.65
Baby Purple
#CA9BF7
ΔE00 3.96
Lavender (survey)
#C79FEF
ΔE00 5.40
Lilac (survey)
#CEA2FD
ΔE00 5.46
Pastel Purple
#CAA0FF
ΔE00 5.49
Violet (CSS)
#EE82EE
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D08DF2 #AFF28D
analogous
#9D8DF2 #D08DF2 #F28DE2
triadic
#D08DF2 #F2D08D #8DF2D0
tetradic
#D08DF2 #F29D8D #AFF28D #8DE2F2
square
#D08DF2 #F29D8D #AFF28D #8DE2F2
split-complementary
#D08DF2 #E2F28D #8DF29D
monochromatic
#A31FE5 #B956EC #D08DF2 #E7C4F8 #F4E4FC
Accessibility & contrast
On white
2.39
#D08DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#D08DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D08DF2
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D08DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D08DF2 | 1.00 | 2.39 | 8.77 | 8.77 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA4F6
Deuteranopia (green-blind)
#8BA9EF
Tritanopia (blue-blind)
#CD9BB4
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #d08df2; /* rgb */ color: rgb(208, 141, 242); /* oklch */ color: oklch(74.7% 0.156 313.6);
Tailwind
colors: {
custom: {
50: '#e0aff6',
500: '#d08df2',
950: '#000000',
},
}SCSS
$custom: #d08df2; $custom-light: #e0aff6; $custom-dark: #000000;
JSON
{
"hex": "#d08df2",
"rgb": {
"r": 208,
"g": 141,
"b": 242
},
"hsl": {
"h": 279.802,
"s": 79.528,
"l": 75.098
},
"oklch": {
"l": 0.74723,
"c": 0.15616,
"h": 313.6
},
"luminance": 0.3887
}Semantic roles & 50–950 ramp
primary
#D08DF2
secondary
#E1F4D7
accent
#DC0A50
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151017
muted
#837F85