#C171CC#C171CC
#C171CC is a light, vivid purple. Relative luminance 0.275; OKLCH L 66.9% C 0.155 H 322.6°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #C171CC |
|---|---|
| RGB | rgb(193, 113, 204) |
| HSL | hsl(293, 47%, 62%) |
| HSV | hsv(293, 45%, 80%) |
| CMYK | cmyk(5.4%, 44.6%, 0%, 20%) |
| CIE-LAB | lab(59.44, 45.71, -34.24) |
| CIE-LCH | lch(59.44, 57.11, 323.16°) |
| OKLab | oklab(66.91% 0.1232 -0.0942) |
| OKLCH | oklch(66.91% 0.155 322.6) |
| XYZ | xyz(38.7954, 27.5089, 60.3812) |
| Luminance | 0.2751 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.04
Orchid
#DA70D6
ΔE00 4.39
Soft Purple
#A66FB5
ΔE00 5.89
Wisteria
#A87DC2
ΔE00 6.17
Lavender Pink
#DD85D7
ΔE00 7.21
Mediumorchid
#BA55D3
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C171CC #7CCC71
analogous
#9471CC #C171CC #CC71AA
triadic
#C171CC #CCC171 #71CCC1
tetradic
#C171CC #CC9471 #7CCC71 #71AACC
square
#C171CC #CC9471 #7CCC71 #71AACC
split-complementary
#C171CC #AACC71 #71CC94
monochromatic
#84338F #AD44BC #C171CC #D59EDC #E8CBEC
Accessibility & contrast
On white
3.23
#C171CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.50
#C171CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C171CC
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C171CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C171CC | 1.00 | 3.23 | 6.50 | 6.50 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6589CF
Deuteranopia (green-blind)
#7C92C9
Tritanopia (blue-blind)
#C47C95
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #c171cc; /* rgb */ color: rgb(193, 113, 204); /* oklch */ color: oklch(66.9% 0.155 322.6);
Tailwind
colors: {
custom: {
50: '#d59cdc',
500: '#c171cc',
950: '#000000',
},
}SCSS
$custom: #c171cc; $custom-light: #d59cdc; $custom-dark: #000000;
JSON
{
"hex": "#c171cc",
"rgb": {
"r": 193,
"g": 113,
"b": 204
},
"hsl": {
"h": 292.747,
"s": 47.15,
"l": 62.157
},
"oklch": {
"l": 0.66909,
"c": 0.15504,
"h": 322.6
},
"luminance": 0.27507
}Semantic roles & 50–950 ramp
primary
#C171CC
secondary
#C0DDBC
accent
#BA2B3C
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83