#D17CFF#D17CFF
#D17CFF is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.9% C 0.198 H 312.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #D17CFF |
|---|---|
| RGB | rgb(209, 124, 255) |
| HSL | hsl(279, 100%, 74%) |
| HSV | hsv(279, 51%, 100%) |
| CMYK | cmyk(18%, 51.4%, 0%, 0%) |
| CIE-LAB | lab(65.90, 54.75, -52.33) |
| CIE-LCH | lch(65.90, 75.74, 316.29°) |
| OKLab | oklab(72.89% 0.1336 -0.1462) |
| OKLCH | oklch(72.89% 0.198 312.4) |
| XYZ | xyz(51.5490, 35.1918, 98.6655) |
| Luminance | 0.3519 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.35
Easter Purple
#C071FE
ΔE00 4.05
Liliac
#C48EFD
ΔE00 4.80
Bright Lavender
#C760FF
ΔE00 6.16
Light Urple
#B36FF6
ΔE00 6.19
Bright Lilac
#C95EFB
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D17CFF #AAFF7C
analogous
#907CFF #D17CFF #FF7CEC
triadic
#D17CFF #FFD17C #7CFFD1
tetradic
#D17CFF #FF907C #AAFF7C #7CECFF
square
#D17CFF #FF907C #AAFF7C #7CECFF
split-complementary
#D17CFF #ECFF7C #7CFF90
monochromatic
#A602FF #BC3FFF #D17CFF #E6B9FF #F4E0FF
Accessibility & contrast
On white
2.61
#D17CFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#D17CFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D17CFF
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D17CFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D17CFF | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B9CFF
Deuteranopia (green-blind)
#76A2FC
Tritanopia (blue-blind)
#CC91B2
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #d17cff; /* rgb */ color: rgb(209, 124, 255); /* oklch */ color: oklch(72.9% 0.198 312.4);
Tailwind
colors: {
custom: {
50: '#e2a4ff',
500: '#d17cff',
950: '#000000',
},
}SCSS
$custom: #d17cff; $custom-light: #e2a4ff; $custom-dark: #000000;
JSON
{
"hex": "#d17cff",
"rgb": {
"r": 209,
"g": 124,
"b": 255
},
"hsl": {
"h": 278.931,
"s": 100,
"l": 74.314
},
"oklch": {
"l": 0.7289,
"c": 0.19805,
"h": 312.4
},
"luminance": 0.35191
}Semantic roles & 50–950 ramp
primary
#D17CFF
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86