#D17DEE#D17DEE
#D17DEE is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.2% C 0.178 H 316.9°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #D17DEE |
|---|---|
| RGB | rgb(209, 125, 238) |
| HSL | hsl(285, 77%, 71%) |
| HSV | hsv(285, 47%, 93%) |
| CMYK | cmyk(12.2%, 47.5%, 0%, 6.7%) |
| CIE-LAB | lab(65.28, 50.75, -43.97) |
| CIE-LCH | lch(65.28, 67.15, 319.09°) |
| OKLab | oklab(72.16% 0.1304 -0.1219) |
| OKLCH | oklch(72.16% 0.179 316.9) |
| XYZ | xyz(49.0585, 34.3971, 84.9274) |
| Luminance | 0.3440 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.46
Orchid
#DA70D6
ΔE00 5.40
Violet (CSS)
#EE82EE
ΔE00 5.59
Liliac
#C48EFD
ΔE00 5.62
Easter Purple
#C071FE
ΔE00 5.66
Purply Pink
#F075E6
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17DEE #9AEE7D
analogous
#987DEE #D17DEE #EE7DD2
triadic
#D17DEE #EED17D #7DEED1
tetradic
#D17DEE #EE987D #9AEE7D #7DD2EE
square
#D17DEE #EE987D #9AEE7D #7DD2EE
split-complementary
#D17DEE #D2EE7D #7DEE98
monochromatic
#A51CD5 #BE47E7 #D17DEE #E4B3F5 #F5E4FB
Accessibility & contrast
On white
2.67
#D17DEE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#D17DEE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17DEE
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17DEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17DEE | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#80A1EB
Tritanopia (blue-blind)
#D08DAB
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #d17dee; /* rgb */ color: rgb(209, 125, 238); /* oklch */ color: oklch(72.2% 0.178 316.9);
Tailwind
colors: {
custom: {
50: '#e1a5f4',
500: '#d17dee',
950: '#000000',
},
}SCSS
$custom: #d17dee; $custom-light: #e1a5f4; $custom-dark: #000000;
JSON
{
"hex": "#d17dee",
"rgb": {
"r": 209,
"g": 125,
"b": 238
},
"hsl": {
"h": 284.602,
"s": 76.871,
"l": 71.176
},
"oklch": {
"l": 0.72163,
"c": 0.1785,
"h": 316.9
},
"luminance": 0.34396
}Semantic roles & 50–950 ramp
primary
#D17DEE
secondary
#DCF2D5
accent
#D90C41
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85