#D17EFF#D17EFF
#D17EFF is a light, vivid violet. Relative luminance 0.357; OKLCH L 73.2% C 0.195 H 312.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #D17EFF |
|---|---|
| RGB | rgb(209, 126, 255) |
| HSL | hsl(279, 100%, 75%) |
| HSV | hsv(279, 51%, 100%) |
| CMYK | cmyk(18%, 50.6%, 0%, 0%) |
| CIE-LAB | lab(66.29, 53.73, -51.72) |
| CIE-LCH | lch(66.29, 74.57, 316.09°) |
| OKLab | oklab(73.18% 0.131 -0.1444) |
| OKLCH | oklch(73.18% 0.195 312.2) |
| XYZ | xyz(51.8022, 35.6982, 98.7499) |
| Luminance | 0.3570 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.55
Easter Purple
#C071FE
ΔE00 4.35
Liliac
#C48EFD
ΔE00 4.45
Light Urple
#B36FF6
ΔE00 6.44
Bright Lavender
#C760FF
ΔE00 6.57
Bright Lilac
#C95EFB
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17EFF #ACFF7E
analogous
#917EFF #D17EFF #FF7EEC
triadic
#D17EFF #FFD17E #7EFFD1
tetradic
#D17EFF #FF917E #ACFF7E #7EECFF
square
#D17EFF #FF917E #ACFF7E #7EECFF
split-complementary
#D17EFF #ECFF7E #7EFF91
monochromatic
#A504FF #BB41FF #D17EFF #E7BBFF #F4E0FF
Accessibility & contrast
On white
2.58
#D17EFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#D17EFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17EFF
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17EFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17EFF | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9DFF
Deuteranopia (green-blind)
#77A3FC
Tritanopia (blue-blind)
#CC93B3
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d17eff; /* rgb */ color: rgb(209, 126, 255); /* oklch */ color: oklch(73.2% 0.195 312.2);
Tailwind
colors: {
custom: {
50: '#e1a6ff',
500: '#d17eff',
950: '#000000',
},
}SCSS
$custom: #d17eff; $custom-light: #e1a6ff; $custom-dark: #000000;
JSON
{
"hex": "#d17eff",
"rgb": {
"r": 209,
"g": 126,
"b": 255
},
"hsl": {
"h": 278.605,
"s": 100,
"l": 74.706
},
"oklch": {
"l": 0.73179,
"c": 0.19496,
"h": 312.2
},
"luminance": 0.35697
}Semantic roles & 50–950 ramp
primary
#D17EFF
secondary
#E0F7D4
accent
#E60052
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86