#D17FE3#D17FE3
#D17FE3 is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.9% C 0.164 H 320.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D17FE3 |
|---|---|
| RGB | rgb(209, 127, 227) |
| HSL | hsl(289, 64%, 69%) |
| HSV | hsv(289, 44%, 89%) |
| CMYK | cmyk(7.9%, 44.1%, 0%, 11%) |
| CIE-LAB | lab(65.19, 47.53, -38.03) |
| CIE-LCH | lch(65.19, 60.87, 321.34°) |
| OKLab | oklab(71.93% 0.1259 -0.1048) |
| OKLCH | oklch(71.93% 0.164 320.2) |
| XYZ | xyz(47.7473, 34.2818, 76.7601) |
| Luminance | 0.3428 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.22
Lavender Pink
#DD85D7
ΔE00 4.54
Violet (CSS)
#EE82EE
ΔE00 4.93
Purply Pink
#F075E6
ΔE00 5.42
Orchid (survey)
#C875C4
ΔE00 5.62
Light Purple
#BF77F6
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17FE3 #91E37F
analogous
#9F7FE3 #D17FE3 #E37FC3
triadic
#D17FE3 #E3D17F #7FE3D1
tetradic
#D17FE3 #E39F7F #91E37F #7FC3E3
square
#D17FE3 #E39F7F #91E37F #7FC3E3
split-complementary
#D17FE3 #C3E37F #7FE39F
monochromatic
#A32ABE #BF4DD8 #D17FE3 #E3B1EE #F5E3F9
Accessibility & contrast
On white
2.67
#D17FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#D17FE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17FE3
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17FE3 | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7098E7
Deuteranopia (green-blind)
#87A1E0
Tritanopia (blue-blind)
#D28CA6
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #d17fe3; /* rgb */ color: rgb(209, 127, 227); /* oklch */ color: oklch(71.9% 0.164 320.2);
Tailwind
colors: {
custom: {
50: '#e1a6ec',
500: '#d17fe3',
950: '#000000',
},
}SCSS
$custom: #d17fe3; $custom-light: #e1a6ec; $custom-dark: #000000;
JSON
{
"hex": "#d17fe3",
"rgb": {
"r": 209,
"g": 127,
"b": 227
},
"hsl": {
"h": 289.2,
"s": 64.103,
"l": 69.412
},
"oklch": {
"l": 0.71934,
"c": 0.1638,
"h": 320.2
},
"luminance": 0.3428
}Semantic roles & 50–950 ramp
primary
#D17FE3
secondary
#D6EDD0
accent
#CC1A3A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84