#C170E3#C170E3
#C170E3 is a light, vivid purple. Relative luminance 0.285; OKLCH L 67.9% C 0.181 H 315.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #C170E3 |
|---|---|
| RGB | rgb(193, 112, 227) |
| HSL | hsl(282, 67%, 66%) |
| HSV | hsv(282, 51%, 89%) |
| CMYK | cmyk(15%, 50.7%, 0%, 11%) |
| CIE-LAB | lab(60.31, 50.84, -45.80) |
| CIE-LCH | lch(60.31, 68.43, 317.98°) |
| OKLab | oklab(67.91% 0.1278 -0.1275) |
| OKLCH | oklch(67.91% 0.181 315.1) |
| XYZ | xyz(41.6494, 28.4730, 75.9600) |
| Luminance | 0.2847 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.54
Easter Purple
#C071FE
ΔE00 4.33
Light Urple
#B36FF6
ΔE00 4.71
Bright Lilac
#C95EFB
ΔE00 4.81
Bright Lavender
#C760FF
ΔE00 5.04
Orchid
#DA70D6
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170E3 #92E370
analogous
#8870E3 #C170E3 #E370CC
triadic
#C170E3 #E3C170 #70E3C1
tetradic
#C170E3 #E38870 #92E370 #70CCE3
square
#C170E3 #E38870 #92E370 #70CCE3
split-complementary
#C170E3 #CCE370 #70E388
monochromatic
#8A23B5 #AB3DD9 #C170E3 #D7A3ED #EDD6F7
Accessibility & contrast
On white
3.14
#C170E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.69
#C170E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170E3
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170E3 | 1.00 | 3.14 | 6.69 | 6.69 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#578DE7
Deuteranopia (green-blind)
#6F94E0
Tritanopia (blue-blind)
#BF829F
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #c170e3; /* rgb */ color: rgb(193, 112, 227); /* oklch */ color: oklch(67.9% 0.181 315.1);
Tailwind
colors: {
custom: {
50: '#d69cec',
500: '#c170e3',
950: '#000000',
},
}SCSS
$custom: #c170e3; $custom-light: #d69cec; $custom-dark: #000000;
JSON
{
"hex": "#c170e3",
"rgb": {
"r": 193,
"g": 112,
"b": 227
},
"hsl": {
"h": 282.261,
"s": 67.251,
"l": 66.471
},
"oklch": {
"l": 0.67906,
"c": 0.18058,
"h": 315.1
},
"luminance": 0.28472
}Semantic roles & 50–950 ramp
primary
#C170E3
secondary
#D0EAC5
accent
#CF164D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E16
muted
#837E84