#C170E4#C170E4
#C170E4 is a light, vivid purple. Relative luminance 0.285; OKLCH L 68.0% C 0.182 H 314.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #C170E4 |
|---|---|
| RGB | rgb(193, 112, 228) |
| HSL | hsl(282, 68%, 67%) |
| HSV | hsv(282, 51%, 89%) |
| CMYK | cmyk(15.4%, 50.9%, 0%, 10.6%) |
| CIE-LAB | lab(60.36, 51.04, -46.29) |
| CIE-LCH | lch(60.36, 68.90, 317.80°) |
| OKLab | oklab(67.96% 0.1279 -0.1289) |
| OKLCH | oklch(67.96% 0.182 314.8) |
| XYZ | xyz(41.7879, 28.5284, 76.6890) |
| Luminance | 0.2853 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.39
Easter Purple
#C071FE
ΔE00 4.16
Light Urple
#B36FF6
ΔE00 4.56
Bright Lilac
#C95EFB
ΔE00 4.70
Bright Lavender
#C760FF
ΔE00 4.91
Orchid
#DA70D6
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170E4 #93E470
analogous
#8770E4 #C170E4 #E470CD
triadic
#C170E4 #E4C170 #70E4C1
tetradic
#C170E4 #E48770 #93E470 #70CDE4
square
#C170E4 #E48770 #93E470 #70CDE4
split-complementary
#C170E4 #CDE470 #70E487
monochromatic
#8A23B7 #AB3DDA #C170E4 #D7A3EE #EED7F7
Accessibility & contrast
On white
3.13
#C170E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#C170E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170E4
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170E4 | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#568DE8
Deuteranopia (green-blind)
#6F94E1
Tritanopia (blue-blind)
#BF82A0
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #c170e4; /* rgb */ color: rgb(193, 112, 228); /* oklch */ color: oklch(68.0% 0.182 314.8);
Tailwind
colors: {
custom: {
50: '#d69ced',
500: '#c170e4',
950: '#000000',
},
}SCSS
$custom: #c170e4; $custom-light: #d69ced; $custom-dark: #000000;
JSON
{
"hex": "#c170e4",
"rgb": {
"r": 193,
"g": 112,
"b": 228
},
"hsl": {
"h": 281.897,
"s": 68.235,
"l": 66.667
},
"oklch": {
"l": 0.67959,
"c": 0.18164,
"h": 314.8
},
"luminance": 0.28527
}Semantic roles & 50–950 ramp
primary
#C170E4
secondary
#D0EBC5
accent
#D0154E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E16
muted
#837E84