#D17EFD#D17EFD
#D17EFD is a light, vivid violet. Relative luminance 0.356; OKLCH L 73.1% C 0.193 H 312.7°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #D17EFD |
|---|---|
| RGB | rgb(209, 126, 253) |
| HSL | hsl(279, 97%, 74%) |
| HSV | hsv(279, 50%, 99%) |
| CMYK | cmyk(17.4%, 50.2%, 0%, 0.8%) |
| CIE-LAB | lab(66.19, 53.31, -50.78) |
| CIE-LCH | lch(66.19, 73.62, 316.39°) |
| OKLab | oklab(73.07% 0.1308 -0.1417) |
| OKLCH | oklch(73.07% 0.193 312.7) |
| XYZ | xyz(51.4819, 35.5701, 97.0632) |
| Luminance | 0.3557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.56
Easter Purple
#C071FE
ΔE00 4.44
Liliac
#C48EFD
ΔE00 4.49
Light Urple
#B36FF6
ΔE00 6.49
Bright Lavender
#C760FF
ΔE00 6.62
Bright Lilac
#C95EFB
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17EFD #AAFD7E
analogous
#927EFD #D17EFD #FD7EE9
triadic
#D17EFD #FDD17E #7EFDD1
tetradic
#D17EFD #FD927E #AAFD7E #7EE9FD
square
#D17EFD #FD927E #AAFD7E #7EE9FD
split-complementary
#D17EFD #E9FD7E #7EFD92
monochromatic
#A605FB #BC42FC #D17EFD #E6BAFE #F4E1FF
Accessibility & contrast
On white
2.59
#D17EFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#D17EFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17EFD
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17EFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17EFD | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#79A3FA
Tritanopia (blue-blind)
#CD92B2
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d17efd; /* rgb */ color: rgb(209, 126, 253); /* oklch */ color: oklch(73.1% 0.193 312.7);
Tailwind
colors: {
custom: {
50: '#e1a6fe',
500: '#d17efd',
950: '#000000',
},
}SCSS
$custom: #d17efd; $custom-light: #e1a6fe; $custom-dark: #000000;
JSON
{
"hex": "#d17efd",
"rgb": {
"r": 209,
"g": 126,
"b": 253
},
"hsl": {
"h": 279.213,
"s": 96.947,
"l": 74.314
},
"oklch": {
"l": 0.73074,
"c": 0.19282,
"h": 312.7
},
"luminance": 0.35569
}Semantic roles & 50–950 ramp
primary
#D17EFD
secondary
#E0F7D4
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86