#C171E4#C171E4
#C171E4 is a light, vivid purple. Relative luminance 0.287; OKLCH L 68.1% C 0.180 H 314.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #C171E4 |
|---|---|
| RGB | rgb(193, 113, 228) |
| HSL | hsl(282, 68%, 67%) |
| HSV | hsv(282, 50%, 89%) |
| CMYK | cmyk(15.4%, 50.4%, 0%, 10.6%) |
| CIE-LAB | lab(60.56, 50.53, -45.97) |
| CIE-LCH | lch(60.56, 68.31, 317.70°) |
| OKLab | oklab(68.11% 0.1266 -0.128) |
| OKLCH | oklch(68.11% 0.18 314.7) |
| XYZ | xyz(41.8988, 28.7503, 76.7260) |
| Luminance | 0.2875 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.31
Easter Purple
#C071FE
ΔE00 4.17
Light Urple
#B36FF6
ΔE00 4.61
Bright Lilac
#C95EFB
ΔE00 4.87
Bright Lavender
#C760FF
ΔE00 5.06
Orchid
#DA70D6
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C171E4 #94E471
analogous
#8871E4 #C171E4 #E471CE
triadic
#C171E4 #E4C171 #71E4C1
tetradic
#C171E4 #E48871 #94E471 #71CEE4
square
#C171E4 #E48871 #94E471 #71CEE4
split-complementary
#C171E4 #CEE471 #71E488
monochromatic
#8A23B8 #AB3EDA #C171E4 #D7A4EE #EED8F8
Accessibility & contrast
On white
3.11
#C171E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#C171E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C171E4
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C171E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C171E4 | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#578DE8
Deuteranopia (green-blind)
#7094E1
Tritanopia (blue-blind)
#BF83A0
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #c171e4; /* rgb */ color: rgb(193, 113, 228); /* oklch */ color: oklch(68.1% 0.180 314.7);
Tailwind
colors: {
custom: {
50: '#d69ced',
500: '#c171e4',
950: '#000000',
},
}SCSS
$custom: #c171e4; $custom-light: #d69ced; $custom-dark: #000000;
JSON
{
"hex": "#c171e4",
"rgb": {
"r": 193,
"g": 113,
"b": 228
},
"hsl": {
"h": 281.739,
"s": 68.047,
"l": 66.863
},
"oklch": {
"l": 0.68105,
"c": 0.18005,
"h": 314.7
},
"luminance": 0.28749
}Semantic roles & 50–950 ramp
primary
#C171E4
secondary
#D1EBC6
accent
#D0164E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E16
muted
#837E84