#D17EEF#D17EEF
#D17EEF is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.4% C 0.178 H 316.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #D17EEF |
|---|---|
| RGB | rgb(209, 126, 239) |
| HSL | hsl(284, 78%, 72%) |
| HSV | hsv(284, 47%, 94%) |
| CMYK | cmyk(12.6%, 47.3%, 0%, 6.3%) |
| CIE-LAB | lab(65.52, 50.43, -44.14) |
| CIE-LCH | lch(65.52, 67.02, 318.81°) |
| OKLab | oklab(72.36% 0.1291 -0.1224) |
| OKLCH | oklch(72.36% 0.178 316.5) |
| XYZ | xyz(49.3330, 34.7105, 85.7457) |
| Luminance | 0.3471 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.45
Liliac
#C48EFD
ΔE00 5.39
Violet (CSS)
#EE82EE
ΔE00 5.59
Orchid
#DA70D6
ΔE00 5.63
Easter Purple
#C071FE
ΔE00 5.67
Purply Pink
#F075E6
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17EEF #9CEF7E
analogous
#997EEF #D17EEF #EF7ED5
triadic
#D17EEF #EFD17E #7EEFD1
tetradic
#D17EEF #EF997E #9CEF7E #7ED5EF
square
#D17EEF #EF997E #9CEF7E #7ED5EF
split-complementary
#D17EEF #D5EF7E #7EEF99
monochromatic
#A61BD8 #BE48E8 #D17EEF #E4B4F6 #F5E4FC
Accessibility & contrast
On white
2.64
#D17EEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#D17EEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17EEF
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17EEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17EEF | 1.00 | 2.64 | 7.94 | 7.94 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#80A2EC
Tritanopia (blue-blind)
#D08EAB
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #d17eef; /* rgb */ color: rgb(209, 126, 239); /* oklch */ color: oklch(72.4% 0.178 316.5);
Tailwind
colors: {
custom: {
50: '#e1a6f4',
500: '#d17eef',
950: '#000000',
},
}SCSS
$custom: #d17eef; $custom-light: #e1a6f4; $custom-dark: #000000;
JSON
{
"hex": "#d17eef",
"rgb": {
"r": 209,
"g": 126,
"b": 239
},
"hsl": {
"h": 284.071,
"s": 77.931,
"l": 71.569
},
"oklch": {
"l": 0.72361,
"c": 0.17794,
"h": 316.5
},
"luminance": 0.34709
}Semantic roles & 50–950 ramp
primary
#D17EEF
secondary
#DEF3D6
accent
#DA0B42
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85