#D17EFE#D17EFE
#D17EFE is a light, vivid violet. Relative luminance 0.356; OKLCH L 73.1% C 0.194 H 312.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #D17EFE |
|---|---|
| RGB | rgb(209, 126, 254) |
| HSL | hsl(279, 98%, 75%) |
| HSV | hsv(279, 50%, 100%) |
| CMYK | cmyk(17.7%, 50.4%, 0%, 0.4%) |
| CIE-LAB | lab(66.24, 53.52, -51.25) |
| CIE-LCH | lch(66.24, 74.10, 316.24°) |
| OKLab | oklab(73.13% 0.1309 -0.143) |
| OKLCH | oklch(73.13% 0.194 312.5) |
| XYZ | xyz(51.6416, 35.6339, 97.9043) |
| Luminance | 0.3563 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.55
Easter Purple
#C071FE
ΔE00 4.39
Liliac
#C48EFD
ΔE00 4.47
Light Urple
#B36FF6
ΔE00 6.46
Bright Lavender
#C760FF
ΔE00 6.59
Bright Lilac
#C95EFB
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17EFE #ABFE7E
analogous
#917EFE #D17EFE #FE7EEB
triadic
#D17EFE #FED17E #7EFED1
tetradic
#D17EFE #FE917E #ABFE7E #7EEBFE
square
#D17EFE #FE917E #ABFE7E #7EEBFE
split-complementary
#D17EFE #EBFE7E #7EFE91
monochromatic
#A605FD #BB41FE #D17EFE #E7BBFE #F4E1FF
Accessibility & contrast
On white
2.58
#D17EFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#D17EFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17EFE
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17EFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17EFE | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#78A3FB
Tritanopia (blue-blind)
#CD93B3
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d17efe; /* rgb */ color: rgb(209, 126, 254); /* oklch */ color: oklch(73.1% 0.194 312.5);
Tailwind
colors: {
custom: {
50: '#e1a6ff',
500: '#d17efe',
950: '#000000',
},
}SCSS
$custom: #d17efe; $custom-light: #e1a6ff; $custom-dark: #000000;
JSON
{
"hex": "#d17efe",
"rgb": {
"r": 209,
"g": 126,
"b": 254
},
"hsl": {
"h": 278.906,
"s": 98.462,
"l": 74.51
},
"oklch": {
"l": 0.73126,
"c": 0.19389,
"h": 312.5
},
"luminance": 0.35633
}Semantic roles & 50–950 ramp
primary
#D17EFE
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86