#D17DF3#D17DF3
#D17DF3 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.4% C 0.184 H 315.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #D17DF3 |
|---|---|
| RGB | rgb(209, 125, 243) |
| HSL | hsl(283, 83%, 72%) |
| HSV | hsv(283, 49%, 95%) |
| CMYK | cmyk(14%, 48.6%, 0%, 4.7%) |
| CIE-LAB | lab(65.51, 51.76, -46.36) |
| CIE-LCH | lch(65.51, 69.48, 318.15°) |
| OKLab | oklab(72.41% 0.131 -0.1288) |
| OKLCH | oklch(72.41% 0.184 315.5) |
| XYZ | xyz(49.8033, 34.6950, 88.8499) |
| Luminance | 0.3469 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.96
Easter Purple
#C071FE
ΔE00 5.09
Liliac
#C48EFD
ΔE00 5.19
Violet (CSS)
#EE82EE
ΔE00 5.99
Orchid
#DA70D6
ΔE00 6.11
Purply Pink
#F075E6
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17DF3 #9FF37D
analogous
#967DF3 #D17DF3 #F37DDA
triadic
#D17DF3 #F3D17D #7DF3D1
tetradic
#D17DF3 #F3967D #9FF37D #7DDAF3
square
#D17DF3 #F3967D #9FF37D #7DDAF3
split-complementary
#D17DF3 #DAF37D #7DF396
monochromatic
#A615E1 #BD45EE #D17DF3 #E5B5F8 #F5E3FC
Accessibility & contrast
On white
2.65
#D17DF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#D17DF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17DF3
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17DF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17DF3 | 1.00 | 2.65 | 7.94 | 7.94 |
| #FFFFFF | 2.65 | 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)
#659AF7
Deuteranopia (green-blind)
#7DA2F0
Tritanopia (blue-blind)
#CF8FAD
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #d17df3; /* rgb */ color: rgb(209, 125, 243); /* oklch */ color: oklch(72.4% 0.184 315.5);
Tailwind
colors: {
custom: {
50: '#e1a5f7',
500: '#d17df3',
950: '#000000',
},
}SCSS
$custom: #d17df3; $custom-light: #e1a5f7; $custom-dark: #000000;
JSON
{
"hex": "#d17df3",
"rgb": {
"r": 209,
"g": 125,
"b": 243
},
"hsl": {
"h": 282.712,
"s": 83.099,
"l": 72.157
},
"oklch": {
"l": 0.72413,
"c": 0.18376,
"h": 315.5
},
"luminance": 0.34694
}Semantic roles & 50–950 ramp
primary
#D17DF3
secondary
#DFF4D7
accent
#E00645
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85