#D17EF7#D17EF7
#D17EF7 is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.8% C 0.186 H 314.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #D17EF7 |
|---|---|
| RGB | rgb(209, 126, 247) |
| HSL | hsl(281, 88%, 73%) |
| HSV | hsv(281, 49%, 97%) |
| CMYK | cmyk(15.4%, 49%, 0%, 3.1%) |
| CIE-LAB | lab(65.90, 52.06, -47.95) |
| CIE-LCH | lch(65.90, 70.78, 317.36°) |
| OKLab | oklab(72.76% 0.1301 -0.1335) |
| OKLCH | oklch(72.76% 0.186 314.3) |
| XYZ | xyz(50.5411, 35.1937, 92.1083) |
| Luminance | 0.3519 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.78
Liliac
#C48EFD
ΔE00 4.75
Easter Purple
#C071FE
ΔE00 4.86
Violet (CSS)
#EE82EE
ΔE00 6.30
Light Urple
#B36FF6
ΔE00 6.75
Orchid
#DA70D6
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17EF7 #A4F77E
analogous
#947EF7 #D17EF7 #F77EE0
triadic
#D17EF7 #F7D17E #7EF7D1
tetradic
#D17EF7 #F7947E #A4F77E #7EE0F7
square
#D17EF7 #F7947E #A4F77E #7EE0F7
split-complementary
#D17EF7 #E0F77E #7EF794
monochromatic
#A60FEC #BC44F3 #D17EF7 #E6B8FB #F5E2FD
Accessibility & contrast
On white
2.61
#D17EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#D17EF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17EF7
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17EF7 | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649BFB
Deuteranopia (green-blind)
#7CA2F4
Tritanopia (blue-blind)
#CE91AF
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #d17ef7; /* rgb */ color: rgb(209, 126, 247); /* oklch */ color: oklch(72.8% 0.186 314.3);
Tailwind
colors: {
custom: {
50: '#e1a6fa',
500: '#d17ef7',
950: '#000000',
},
}SCSS
$custom: #d17ef7; $custom-light: #e1a6fa; $custom-dark: #000000;
JSON
{
"hex": "#d17ef7",
"rgb": {
"r": 209,
"g": 126,
"b": 247
},
"hsl": {
"h": 281.157,
"s": 88.321,
"l": 73.137
},
"oklch": {
"l": 0.72763,
"c": 0.18641,
"h": 314.3
},
"luminance": 0.35192
}Semantic roles & 50–950 ramp
primary
#D17EF7
secondary
#E0F5D6
accent
#E50148
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85