#D17FF4#D17FF4
#D17FF4 is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.8% C 0.182 H 315.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #D17FF4 |
|---|---|
| RGB | rgb(209, 127, 244) |
| HSL | hsl(282, 84%, 73%) |
| HSV | hsv(282, 48%, 96%) |
| CMYK | cmyk(14.3%, 48%, 0%, 4.3%) |
| CIE-LAB | lab(65.96, 50.93, -46.21) |
| CIE-LCH | lch(65.96, 68.77, 317.79°) |
| OKLab | oklab(72.76% 0.1284 -0.1284) |
| OKLCH | oklch(72.76% 0.182 315) |
| XYZ | xyz(50.2104, 35.2671, 89.7327) |
| Luminance | 0.3527 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.10
Liliac
#C48EFD
ΔE00 4.81
Easter Purple
#C071FE
ΔE00 5.28
Violet (CSS)
#EE82EE
ΔE00 5.96
Orchid
#DA70D6
ΔE00 6.41
Purply Pink
#F075E6
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17FF4 #A2F47F
analogous
#967FF4 #D17FF4 #F47FDD
triadic
#D17FF4 #F4D17F #7FF4D1
tetradic
#D17FF4 #F4967F #A2F47F #7FDDF4
square
#D17FF4 #F4967F #A2F47F #7FDDF4
split-complementary
#D17FF4 #DDF47F #7FF496
monochromatic
#A614E5 #BD47EF #D17FF4 #E5B7F9 #F5E3FD
Accessibility & contrast
On white
2.61
#D17FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.05
#D17FF4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17FF4
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17FF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17FF4 | 1.00 | 2.61 | 8.05 | 8.05 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679BF8
Deuteranopia (green-blind)
#7FA3F1
Tritanopia (blue-blind)
#CF91AE
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #d17ff4; /* rgb */ color: rgb(209, 127, 244); /* oklch */ color: oklch(72.8% 0.182 315.0);
Tailwind
colors: {
custom: {
50: '#e1a6f8',
500: '#d17ff4',
950: '#000000',
},
}SCSS
$custom: #d17ff4; $custom-light: #e1a6f8; $custom-dark: #000000;
JSON
{
"hex": "#d17ff4",
"rgb": {
"r": 209,
"g": 127,
"b": 244
},
"hsl": {
"h": 282.051,
"s": 84.173,
"l": 72.745
},
"oklch": {
"l": 0.72759,
"c": 0.18163,
"h": 315
},
"luminance": 0.35266
}Semantic roles & 50–950 ramp
primary
#D17FF4
secondary
#DFF5D6
accent
#E10547
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85