#C171EA#C171EA
#C171EA is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.4% C 0.186 H 313.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #C171EA |
|---|---|
| RGB | rgb(193, 113, 234) |
| HSL | hsl(280, 74%, 68%) |
| HSV | hsv(280, 52%, 92%) |
| CMYK | cmyk(17.5%, 51.7%, 0%, 8.2%) |
| CIE-LAB | lab(60.86, 51.79, -48.84) |
| CIE-LCH | lch(60.86, 71.19, 316.68°) |
| OKLab | oklab(68.42% 0.1272 -0.1364) |
| OKLCH | oklch(68.42% 0.186 313) |
| XYZ | xyz(42.7462, 29.0893, 81.1889) |
| Luminance | 0.2909 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.43
Easter Purple
#C071FE
ΔE00 3.17
Light Urple
#B36FF6
ΔE00 3.80
Bright Lilac
#C95EFB
ΔE00 4.28
Bright Lavender
#C760FF
ΔE00 4.35
Heliotrope
#D94FF5
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C171EA #9AEA71
analogous
#8471EA #C171EA #EA71D7
triadic
#C171EA #EAC171 #71EAC1
tetradic
#C171EA #EA8471 #9AEA71 #71D7EA
square
#C171EA #EA8471 #9AEA71 #71D7EA
split-complementary
#C171EA #D7EA71 #71EA84
monochromatic
#8B1DC4 #AA3CE2 #C171EA #D8A6F2 #F0DCFA
Accessibility & contrast
On white
3.08
#C171EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#C171EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C171EA
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C171EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C171EA | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#538EEE
Deuteranopia (green-blind)
#6C95E7
Tritanopia (blue-blind)
#BD85A3
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #c171ea; /* rgb */ color: rgb(193, 113, 234); /* oklch */ color: oklch(68.4% 0.186 313.0);
Tailwind
colors: {
custom: {
50: '#d69cf1',
500: '#c171ea',
950: '#000000',
},
}SCSS
$custom: #c171ea; $custom-light: #d69cf1; $custom-dark: #000000;
JSON
{
"hex": "#c171ea",
"rgb": {
"r": 193,
"g": 113,
"b": 234
},
"hsl": {
"h": 279.669,
"s": 74.233,
"l": 68.039
},
"oklch": {
"l": 0.68424,
"c": 0.18648,
"h": 313
},
"luminance": 0.29088
}Semantic roles & 50–950 ramp
primary
#C171EA
secondary
#D5EEC9
accent
#D60F53
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E17
muted
#837E85