#D170E4#D170E4
#D170E4 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.8% C 0.189 H 320.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #D170E4 |
|---|---|
| RGB | rgb(209, 112, 228) |
| HSL | hsl(290, 68%, 67%) |
| HSV | hsv(290, 51%, 89%) |
| CMYK | cmyk(8.3%, 50.9%, 0%, 10.6%) |
| CIE-LAB | lab(62.29, 55.35, -43.11) |
| CIE-LCH | lch(62.29, 70.16, 322.08°) |
| OKLab | oklab(69.8% 0.1467 -0.1194) |
| OKLCH | oklch(69.8% 0.189 320.9) |
| XYZ | xyz(46.0906, 30.7470, 76.8907) |
| Luminance | 0.3075 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.56
Light Purple
#BF77F6
ΔE00 5.28
Bright Lilac
#C95EFB
ΔE00 5.84
Purply Pink
#F075E6
ΔE00 5.84
Orchid (survey)
#C875C4
ΔE00 5.90
Heliotrope
#D94FF5
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D170E4 #83E470
analogous
#9770E4 #D170E4 #E470BD
triadic
#D170E4 #E4D170 #70E4D1
tetradic
#D170E4 #E49770 #83E470 #70BDE4
square
#D170E4 #E49770 #83E470 #70BDE4
split-complementary
#D170E4 #BDE470 #70E497
monochromatic
#9F23B7 #C03DDA #D170E4 #E2A3EE #F2D7F7
Accessibility & contrast
On white
2.94
#D170E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#D170E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D170E4
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D170E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D170E4 | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D90E8
Deuteranopia (green-blind)
#7B9AE1
Tritanopia (blue-blind)
#D380A0
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #d170e4; /* rgb */ color: rgb(209, 112, 228); /* oklch */ color: oklch(69.8% 0.189 320.9);
Tailwind
colors: {
custom: {
50: '#e19ced',
500: '#d170e4',
950: '#000000',
},
}SCSS
$custom: #d170e4; $custom-light: #e19ced; $custom-dark: #000000;
JSON
{
"hex": "#d170e4",
"rgb": {
"r": 209,
"g": 112,
"b": 228
},
"hsl": {
"h": 290.172,
"s": 68.235,
"l": 66.667
},
"oklch": {
"l": 0.69801,
"c": 0.18913,
"h": 320.9
},
"luminance": 0.30745
}Semantic roles & 50–950 ramp
primary
#D170E4
secondary
#CBEBC5
accent
#D01534
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84