#C170E5#C170E5
#C170E5 is a light, vivid purple. Relative luminance 0.286; OKLCH L 68.0% C 0.183 H 314.5°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #C170E5 |
|---|---|
| RGB | rgb(193, 112, 229) |
| HSL | hsl(282, 69%, 67%) |
| HSV | hsv(282, 51%, 90%) |
| CMYK | cmyk(15.7%, 51.1%, 0%, 10.2%) |
| CIE-LAB | lab(60.41, 51.25, -46.76) |
| CIE-LCH | lch(60.41, 69.38, 317.62°) |
| OKLab | oklab(68.01% 0.128 -0.1303) |
| OKLCH | oklch(68.01% 0.183 314.5) |
| XYZ | xyz(41.9271, 28.5841, 77.4222) |
| Luminance | 0.2858 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.24
Easter Purple
#C071FE
ΔE00 3.99
Light Urple
#B36FF6
ΔE00 4.42
Bright Lilac
#C95EFB
ΔE00 4.59
Bright Lavender
#C760FF
ΔE00 4.78
Heliotrope
#D94FF5
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170E5 #94E570
analogous
#8670E5 #C170E5 #E570CF
triadic
#C170E5 #E5C170 #70E5C1
tetradic
#C170E5 #E58670 #94E570 #70CFE5
square
#C170E5 #E58670 #94E570 #70CFE5
split-complementary
#C170E5 #CFE570 #70E586
monochromatic
#8A22B9 #AB3CDC #C170E5 #D7A4EE #EED8F8
Accessibility & contrast
On white
3.13
#C170E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#C170E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170E5
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170E5 | 1.00 | 3.13 | 6.72 | 6.72 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#558DE9
Deuteranopia (green-blind)
#6E94E2
Tritanopia (blue-blind)
#BE82A0
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #c170e5; /* rgb */ color: rgb(193, 112, 229); /* oklch */ color: oklch(68.0% 0.183 314.5);
Tailwind
colors: {
custom: {
50: '#d69cee',
500: '#c170e5',
950: '#000000',
},
}SCSS
$custom: #c170e5; $custom-light: #d69cee; $custom-dark: #000000;
JSON
{
"hex": "#c170e5",
"rgb": {
"r": 193,
"g": 112,
"b": 229
},
"hsl": {
"h": 281.538,
"s": 69.231,
"l": 66.863
},
"oklch": {
"l": 0.68012,
"c": 0.1827,
"h": 314.5
},
"luminance": 0.28583
}Semantic roles & 50–950 ramp
primary
#C170E5
secondary
#D1EBC6
accent
#D1144E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E16
muted
#837E84