#C17EE4#C17EE4
#C17EE4 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.1% C 0.159 H 313.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #C17EE4 |
|---|---|
| RGB | rgb(193, 126, 228) |
| HSL | hsl(279, 65%, 69%) |
| HSV | hsv(279, 45%, 89%) |
| CMYK | cmyk(15.4%, 44.7%, 0%, 10.6%) |
| CIE-LAB | lab(63.23, 43.68, -41.77) |
| CIE-LCH | lch(63.23, 60.44, 316.28°) |
| OKLab | oklab(70.09% 0.1087 -0.1159) |
| OKLCH | oklch(70.09% 0.159 313.2) |
| XYZ | xyz(43.4544, 31.8616, 77.2445) |
| Luminance | 0.3186 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.76
Liliac
#C48EFD
ΔE00 5.31
Easter Purple
#C071FE
ΔE00 5.41
Light Urple
#B36FF6
ΔE00 6.13
Orchid
#DA70D6
ΔE00 6.54
Pale Purple
#B790D4
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17EE4 #A1E47E
analogous
#8E7EE4 #C17EE4 #E47ED4
triadic
#C17EE4 #E4C17E #7EE4C1
tetradic
#C17EE4 #E48E7E #A1E47E #7ED4E4
square
#C17EE4 #E48E7E #A1E47E #7ED4E4
split-complementary
#C17EE4 #D4E47E #7EE48E
monochromatic
#8C28C0 #A94BD9 #C17EE4 #D9B1EF #F2E3F9
Accessibility & contrast
On white
2.85
#C17EE4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#C17EE4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17EE4
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17EE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17EE4 | 1.00 | 2.85 | 7.37 | 7.37 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6995E8
Deuteranopia (green-blind)
#7B9BE1
Tritanopia (blue-blind)
#BE8DA6
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #c17ee4; /* rgb */ color: rgb(193, 126, 228); /* oklch */ color: oklch(70.1% 0.159 313.2);
Tailwind
colors: {
custom: {
50: '#d5a5ed',
500: '#c17ee4',
950: '#000000',
},
}SCSS
$custom: #c17ee4; $custom-light: #d5a5ed; $custom-dark: #000000;
JSON
{
"hex": "#c17ee4",
"rgb": {
"r": 193,
"g": 126,
"b": 228
},
"hsl": {
"h": 279.412,
"s": 65.385,
"l": 69.412
},
"oklch": {
"l": 0.70089,
"c": 0.15895,
"h": 313.2
},
"luminance": 0.31861
}Semantic roles & 50–950 ramp
primary
#C17EE4
secondary
#DAEED0
accent
#CD1856
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84