#D17EFB#D17EFB
#D17EFB is a light, vivid violet. Relative luminance 0.354; OKLCH L 73.0% C 0.191 H 313.2°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #D17EFB |
|---|---|
| RGB | rgb(209, 126, 251) |
| HSL | hsl(280, 94%, 74%) |
| HSV | hsv(280, 50%, 98%) |
| CMYK | cmyk(16.7%, 49.8%, 0%, 1.6%) |
| CIE-LAB | lab(66.09, 52.89, -49.84) |
| CIE-LCH | lch(66.09, 72.67, 316.70°) |
| OKLab | oklab(72.97% 0.1306 -0.1389) |
| OKLCH | oklch(72.97% 0.191 313.2) |
| XYZ | xyz(51.1650, 35.4433, 95.3940) |
| Luminance | 0.3544 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.61
Liliac
#C48EFD
ΔE00 4.56
Easter Purple
#C071FE
ΔE00 4.56
Light Urple
#B36FF6
ΔE00 6.56
Bright Lavender
#C760FF
ΔE00 6.69
Violet (CSS)
#EE82EE
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17EFB #A8FB7E
analogous
#937EFB #D17EFB #FB7EE7
triadic
#D17EFB #FBD17E #7EFBD1
tetradic
#D17EFB #FB937E #A8FB7E #7EE7FB
square
#D17EFB #FB937E #A8FB7E #7EE7FB
split-complementary
#D17EFB #E7FB7E #7EFB93
monochromatic
#A708F7 #BC43F9 #D17EFB #E6B9FD #F4E1FE
Accessibility & contrast
On white
2.60
#D17EFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#D17EFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17EFB
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17EFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17EFB | 1.00 | 2.60 | 8.09 | 8.09 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#CD92B1
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d17efb; /* rgb */ color: rgb(209, 126, 251); /* oklch */ color: oklch(73.0% 0.191 313.2);
Tailwind
colors: {
custom: {
50: '#e1a6fd',
500: '#d17efb',
950: '#000000',
},
}SCSS
$custom: #d17efb; $custom-light: #e1a6fd; $custom-dark: #000000;
JSON
{
"hex": "#d17efb",
"rgb": {
"r": 209,
"g": 126,
"b": 251
},
"hsl": {
"h": 279.84,
"s": 93.985,
"l": 73.922
},
"oklch": {
"l": 0.72969,
"c": 0.19068,
"h": 313.2
},
"luminance": 0.35442
}Semantic roles & 50–950 ramp
primary
#D17EFB
secondary
#E0F6D5
accent
#E6004D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86