#D17CFD#D17CFD
#D17CFD is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.8% C 0.196 H 312.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #D17CFD |
|---|---|
| RGB | rgb(209, 124, 253) |
| HSL | hsl(280, 97%, 74%) |
| HSV | hsv(280, 51%, 99%) |
| CMYK | cmyk(17.4%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(65.80, 54.33, -51.40) |
| CIE-LCH | lch(65.80, 74.79, 316.59°) |
| OKLab | oklab(72.78% 0.1334 -0.1435) |
| OKLCH | oklch(72.78% 0.196 312.9) |
| XYZ | xyz(51.2287, 35.0637, 96.9788) |
| Luminance | 0.3506 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.37
Easter Purple
#C071FE
ΔE00 4.14
Liliac
#C48EFD
ΔE00 4.84
Bright Lavender
#C760FF
ΔE00 6.21
Light Urple
#B36FF6
ΔE00 6.24
Bright Lilac
#C95EFB
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17CFD #A8FD7C
analogous
#917CFD #D17CFD #FD7CE8
triadic
#D17CFD #FDD17C #7CFDD1
tetradic
#D17CFD #FD917C #A8FD7C #7CE8FD
square
#D17CFD #FD917C #A8FD7C #7CE8FD
split-complementary
#D17CFD #E8FD7C #7CFD91
monochromatic
#A704FB #BC40FC #D17CFD #E6B8FE #F4E1FF
Accessibility & contrast
On white
2.62
#D17CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#D17CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17CFD
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17CFD | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#CD91B1
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #d17cfd; /* rgb */ color: rgb(209, 124, 253); /* oklch */ color: oklch(72.8% 0.196 312.9);
Tailwind
colors: {
custom: {
50: '#e2a4fe',
500: '#d17cfd',
950: '#000000',
},
}SCSS
$custom: #d17cfd; $custom-light: #e2a4fe; $custom-dark: #000000;
JSON
{
"hex": "#d17cfd",
"rgb": {
"r": 209,
"g": 124,
"b": 253
},
"hsl": {
"h": 279.535,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.72784,
"c": 0.19592,
"h": 312.9
},
"luminance": 0.35062
}Semantic roles & 50–950 ramp
primary
#D17CFD
secondary
#E0F7D4
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86