#C17EE3#C17EE3
#C17EE3 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.0% C 0.158 H 313.5°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #C17EE3 |
|---|---|
| RGB | rgb(193, 126, 227) |
| HSL | hsl(280, 64%, 69%) |
| HSV | hsv(280, 44%, 89%) |
| CMYK | cmyk(15%, 44.5%, 0%, 11%) |
| CIE-LAB | lab(63.18, 43.47, -41.29) |
| CIE-LCH | lch(63.18, 59.96, 316.47°) |
| OKLab | oklab(70.04% 0.1086 -0.1145) |
| OKLCH | oklch(70.04% 0.158 313.5) |
| XYZ | xyz(43.3160, 31.8062, 76.5155) |
| Luminance | 0.3180 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.93
Liliac
#C48EFD
ΔE00 5.44
Easter Purple
#C071FE
ΔE00 5.57
Light Urple
#B36FF6
ΔE00 6.26
Orchid
#DA70D6
ΔE00 6.44
Pale Purple
#B790D4
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C17EE3 #A0E37E
analogous
#8F7EE3 #C17EE3 #E37ED3
triadic
#C17EE3 #E3C17E #7EE3C1
tetradic
#C17EE3 #E38F7E #A0E37E #7ED3E3
square
#C17EE3 #E38F7E #A0E37E #7ED3E3
split-complementary
#C17EE3 #D3E37E #7EE38F
monochromatic
#8C29BD #A94CD8 #C17EE3 #D9B0EE #F1E3F9
Accessibility & contrast
On white
2.85
#C17EE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#C17EE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C17EE3
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C17EE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C17EE3 | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A95E7
Deuteranopia (green-blind)
#7C9BE0
Tritanopia (blue-blind)
#BE8DA6
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #c17ee3; /* rgb */ color: rgb(193, 126, 227); /* oklch */ color: oklch(70.0% 0.158 313.5);
Tailwind
colors: {
custom: {
50: '#d5a5ec',
500: '#c17ee3',
950: '#000000',
},
}SCSS
$custom: #c17ee3; $custom-light: #d5a5ec; $custom-dark: #000000;
JSON
{
"hex": "#c17ee3",
"rgb": {
"r": 193,
"g": 126,
"b": 227
},
"hsl": {
"h": 279.802,
"s": 64.331,
"l": 69.216
},
"oklch": {
"l": 0.7004,
"c": 0.15783,
"h": 313.5
},
"luminance": 0.31805
}Semantic roles & 50–950 ramp
primary
#C17EE3
secondary
#DAEDD0
accent
#CC1956
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84