#D08CF8#D08CF8
#D08CF8 is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.9% C 0.165 H 312.0°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #D08CF8 |
|---|---|
| RGB | rgb(208, 140, 248) |
| HSL | hsl(278, 89%, 76%) |
| HSV | hsv(278, 44%, 97%) |
| CMYK | cmyk(16.1%, 43.5%, 0%, 2.7%) |
| CIE-LAB | lab(68.71, 44.67, -44.08) |
| CIE-LCH | lch(68.71, 62.76, 315.38°) |
| OKLab | oklab(74.85% 0.1101 -0.1223) |
| OKLCH | oklch(74.85% 0.165 312) |
| XYZ | xyz(52.3308, 38.9444, 93.5490) |
| Luminance | 0.3894 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.88
Baby Purple
#CA9BF7
ΔE00 4.11
Pastel Purple
#CAA0FF
ΔE00 5.40
Lilac (survey)
#CEA2FD
ΔE00 5.56
Lavender (survey)
#C79FEF
ΔE00 5.85
Light Purple
#BF77F6
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D08CF8 #B4F88C
analogous
#9A8CF8 #D08CF8 #F88CEA
triadic
#D08CF8 #F8D08C #8CF8D0
tetradic
#D08CF8 #F89A8C #B4F88C #8CEAF8
square
#D08CF8 #F89A8C #B4F88C #8CEAF8
split-complementary
#D08CF8 #EAF88C #8CF89A
monochromatic
#A119F1 #B852F4 #D08CF8 #E8C6FC #F3E2FD
Accessibility & contrast
On white
2.39
#D08CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.79
#D08CF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D08CF8
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D08CF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D08CF8 | 1.00 | 2.39 | 8.79 | 8.79 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76A4FC
Deuteranopia (green-blind)
#87A9F5
Tritanopia (blue-blind)
#CC9CB6
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #d08cf8; /* rgb */ color: rgb(208, 140, 248); /* oklch */ color: oklch(74.9% 0.165 312.0);
Tailwind
colors: {
custom: {
50: '#e0affb',
500: '#d08cf8',
950: '#000000',
},
}SCSS
$custom: #d08cf8; $custom-light: #e0affb; $custom-dark: #000000;
JSON
{
"hex": "#d08cf8",
"rgb": {
"r": 208,
"g": 140,
"b": 248
},
"hsl": {
"h": 277.778,
"s": 88.525,
"l": 76.078
},
"oklch": {
"l": 0.7485,
"c": 0.16457,
"h": 312
},
"luminance": 0.38943
}Semantic roles & 50–950 ramp
primary
#D08CF8
secondary
#E1F5D6
accent
#E50055
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85