#C170E7#C170E7
#C170E7 is a light, vivid purple. Relative luminance 0.287; OKLCH L 68.1% C 0.185 H 313.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #C170E7 |
|---|---|
| RGB | rgb(193, 112, 231) |
| HSL | hsl(281, 71%, 67%) |
| HSV | hsv(281, 52%, 91%) |
| CMYK | cmyk(16.5%, 51.5%, 0%, 9.4%) |
| CIE-LAB | lab(60.51, 51.67, -47.72) |
| CIE-LCH | lch(60.51, 70.34, 317.27°) |
| OKLab | oklab(68.12% 0.1282 -0.1331) |
| OKLCH | oklch(68.12% 0.185 313.9) |
| XYZ | xyz(42.2079, 28.6964, 78.9014) |
| Luminance | 0.2869 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.96
Easter Purple
#C071FE
ΔE00 3.66
Light Urple
#B36FF6
ΔE00 4.14
Bright Lilac
#C95EFB
ΔE00 4.38
Bright Lavender
#C760FF
ΔE00 4.53
Heliotrope
#D94FF5
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170E7 #96E770
analogous
#8570E7 #C170E7 #E770D2
triadic
#C170E7 #E7C170 #70E7C1
tetradic
#C170E7 #E78570 #96E770 #70D2E7
square
#C170E7 #E78570 #96E770 #70D2E7
split-complementary
#C170E7 #D2E770 #70E785
monochromatic
#8B20BD #AA3CDE #C170E7 #D8A4F0 #EED9F9
Accessibility & contrast
On white
3.12
#C170E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.74
#C170E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170E7
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170E7 | 1.00 | 3.12 | 6.74 | 6.74 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#548DEB
Deuteranopia (green-blind)
#6D94E4
Tritanopia (blue-blind)
#BE83A1
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #c170e7; /* rgb */ color: rgb(193, 112, 231); /* oklch */ color: oklch(68.1% 0.185 313.9);
Tailwind
colors: {
custom: {
50: '#d69cef',
500: '#c170e7',
950: '#000000',
},
}SCSS
$custom: #c170e7; $custom-light: #d69cef; $custom-dark: #000000;
JSON
{
"hex": "#c170e7",
"rgb": {
"r": 193,
"g": 112,
"b": 231
},
"hsl": {
"h": 280.84,
"s": 71.257,
"l": 67.255
},
"oklch": {
"l": 0.68118,
"c": 0.18483,
"h": 313.9
},
"luminance": 0.28695
}Semantic roles & 50–950 ramp
primary
#C170E7
secondary
#D3ECC7
accent
#D31250
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E16
muted
#837E84