#C170CC#C170CC
#C170CC is a light, vivid purple. Relative luminance 0.273; OKLCH L 66.8% C 0.157 H 322.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #C170CC |
|---|---|
| RGB | rgb(193, 112, 204) |
| HSL | hsl(293, 47%, 62%) |
| HSV | hsv(293, 45%, 80%) |
| CMYK | cmyk(5.4%, 45.1%, 0%, 20%) |
| CIE-LAB | lab(59.24, 46.23, -34.56) |
| CIE-LCH | lch(59.24, 57.72, 323.22°) |
| OKLab | oklab(66.76% 0.1246 -0.0951) |
| OKLCH | oklch(66.76% 0.157 322.7) |
| XYZ | xyz(38.6844, 27.2870, 60.3443) |
| Luminance | 0.2728 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.18
Orchid
#DA70D6
ΔE00 4.43
Soft Purple
#A66FB5
ΔE00 5.88
Wisteria
#A87DC2
ΔE00 6.31
Mediumorchid
#BA55D3
ΔE00 6.97
Purpleish Pink
#DF4EC8
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170CC #7BCC70
analogous
#9370CC #C170CC #CC70A9
triadic
#C170CC #CCC170 #70CCC1
tetradic
#C170CC #CC9370 #7BCC70 #70A9CC
square
#C170CC #CC9370 #7BCC70 #70A9CC
split-complementary
#C170CC #A9CC70 #70CC93
monochromatic
#84338F #AD43BC #C170CC #D59DDC #E8CAEC
Accessibility & contrast
On white
3.25
#C170CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#C170CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170CC
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170CC | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6489CF
Deuteranopia (green-blind)
#7B92C9
Tritanopia (blue-blind)
#C47B94
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #c170cc; /* rgb */ color: rgb(193, 112, 204); /* oklch */ color: oklch(66.8% 0.157 322.7);
Tailwind
colors: {
custom: {
50: '#d59bdc',
500: '#c170cc',
950: '#000000',
},
}SCSS
$custom: #c170cc; $custom-light: #d59bdc; $custom-dark: #000000;
JSON
{
"hex": "#c170cc",
"rgb": {
"r": 193,
"g": 112,
"b": 204
},
"hsl": {
"h": 292.826,
"s": 47.423,
"l": 61.961
},
"oklch": {
"l": 0.66758,
"c": 0.15673,
"h": 322.7
},
"luminance": 0.27285
}Semantic roles & 50–950 ramp
primary
#C170CC
secondary
#BFDDBB
accent
#BB2B3C
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83