#D17CFE#D17CFE
#D17CFE is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.8% C 0.197 H 312.7°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #D17CFE |
|---|---|
| RGB | rgb(209, 124, 254) |
| HSL | hsl(279, 98%, 74%) |
| HSV | hsv(279, 51%, 100%) |
| CMYK | cmyk(17.7%, 51.2%, 0%, 0.4%) |
| CIE-LAB | lab(65.85, 54.54, -51.87) |
| CIE-LCH | lch(65.85, 75.26, 316.44°) |
| OKLab | oklab(72.84% 0.1335 -0.1448) |
| OKLCH | oklch(72.84% 0.197 312.7) |
| XYZ | xyz(51.3885, 35.1276, 97.8200) |
| Luminance | 0.3513 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.36
Easter Purple
#C071FE
ΔE00 4.09
Liliac
#C48EFD
ΔE00 4.82
Bright Lavender
#C760FF
ΔE00 6.19
Light Urple
#B36FF6
ΔE00 6.21
Bright Lilac
#C95EFB
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17CFE #A9FE7C
analogous
#907CFE #D17CFE #FE7CEA
triadic
#D17CFE #FED17C #7CFED1
tetradic
#D17CFE #FE907C #A9FE7C #7CEAFE
square
#D17CFE #FE907C #A9FE7C #7CEAFE
split-complementary
#D17CFE #EAFE7C #7CFE90
monochromatic
#A603FD #BC3FFE #D17CFE #E6B9FE #F4E1FF
Accessibility & contrast
On white
2.62
#D17CFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#D17CFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17CFE
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17CFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17CFE | 1.00 | 2.62 | 8.03 | 8.03 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#76A2FB
Tritanopia (blue-blind)
#CD91B2
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #d17cfe; /* rgb */ color: rgb(209, 124, 254); /* oklch */ color: oklch(72.8% 0.197 312.7);
Tailwind
colors: {
custom: {
50: '#e2a4ff',
500: '#d17cfe',
950: '#000000',
},
}SCSS
$custom: #d17cfe; $custom-light: #e2a4ff; $custom-dark: #000000;
JSON
{
"hex": "#d17cfe",
"rgb": {
"r": 209,
"g": 124,
"b": 254
},
"hsl": {
"h": 279.231,
"s": 98.485,
"l": 74.118
},
"oklch": {
"l": 0.72837,
"c": 0.19698,
"h": 312.7
},
"luminance": 0.35126
}Semantic roles & 50–950 ramp
primary
#D17CFE
secondary
#E0F7D4
accent
#E6004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86