#C170E0#C170E0
#C170E0 is a light, vivid purple. Relative luminance 0.283; OKLCH L 67.8% C 0.177 H 315.9°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #C170E0 |
|---|---|
| RGB | rgb(193, 112, 224) |
| HSL | hsl(283, 64%, 66%) |
| HSV | hsv(283, 50%, 88%) |
| CMYK | cmyk(13.8%, 50%, 0%, 12.2%) |
| CIE-LAB | lab(60.17, 50.22, -44.36) |
| CIE-LCH | lch(60.17, 67.00, 318.55°) |
| OKLab | oklab(67.75% 0.1275 -0.1233) |
| OKLCH | oklch(67.75% 0.177 315.9) |
| XYZ | xyz(41.2390, 28.3089, 73.7984) |
| Luminance | 0.2831 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.01
Easter Purple
#C071FE
ΔE00 4.84
Light Urple
#B36FF6
ΔE00 5.16
Bright Lilac
#C95EFB
ΔE00 5.18
Bright Lavender
#C760FF
ΔE00 5.46
Orchid
#DA70D6
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170E0 #8FE070
analogous
#8970E0 #C170E0 #E070C7
triadic
#C170E0 #E0C170 #70E0C1
tetradic
#C170E0 #E08970 #8FE070 #70C7E0
square
#C170E0 #E08970 #8FE070 #70C7E0
split-complementary
#C170E0 #C7E070 #70E089
monochromatic
#8926B0 #AB3ED5 #C170E0 #D7A2EB #EDD5F6
Accessibility & contrast
On white
3.15
#C170E0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.66
#C170E0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170E0
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170E0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170E0 | 1.00 | 3.15 | 6.66 | 6.66 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#598CE4
Deuteranopia (green-blind)
#7193DD
Tritanopia (blue-blind)
#BF819E
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #c170e0; /* rgb */ color: rgb(193, 112, 224); /* oklch */ color: oklch(67.8% 0.177 315.9);
Tailwind
colors: {
custom: {
50: '#d69cea',
500: '#c170e0',
950: '#000000',
},
}SCSS
$custom: #c170e0; $custom-light: #d69cea; $custom-dark: #000000;
JSON
{
"hex": "#c170e0",
"rgb": {
"r": 193,
"g": 112,
"b": 224
},
"hsl": {
"h": 283.393,
"s": 64.368,
"l": 65.882
},
"oklch": {
"l": 0.6775,
"c": 0.1774,
"h": 315.9
},
"luminance": 0.28308
}Semantic roles & 50–950 ramp
primary
#C170E0
secondary
#CEE8C3
accent
#CC194B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E16
muted
#837E84