#C170C8#C170C8
#C170C8 is a light, vivid purple. Relative luminance 0.271; OKLCH L 66.6% C 0.153 H 324.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #C170C8 |
|---|---|
| RGB | rgb(193, 112, 200) |
| HSL | hsl(295, 44%, 61%) |
| HSV | hsv(295, 44%, 78%) |
| CMYK | cmyk(3.5%, 44%, 0%, 21.6%) |
| CIE-LAB | lab(59.06, 45.47, -32.56) |
| CIE-LCH | lch(59.06, 55.93, 324.39°) |
| OKLab | oklab(66.57% 0.1239 -0.0894) |
| OKLCH | oklch(66.57% 0.153 324.2) |
| XYZ | xyz(38.2108, 27.0976, 57.8500) |
| Luminance | 0.2710 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.58
Orchid
#DA70D6
ΔE00 4.48
Soft Purple
#A66FB5
ΔE00 5.61
Wisteria
#A87DC2
ΔE00 6.30
Purplish Pink
#CE5DAE
ΔE00 6.95
Purpleish Pink
#DF4EC8
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170C8 #77C870
analogous
#9570C8 #C170C8 #C870A3
triadic
#C170C8 #C8C170 #70C8C1
tetradic
#C170C8 #C89570 #77C870 #70A3C8
square
#C170C8 #C89570 #77C870 #70A3C8
split-complementary
#C170C8 #A3C870 #70C895
monochromatic
#823589 #AC46B5 #C170C8 #D49CD9 #E7C8EA
Accessibility & contrast
On white
3.27
#C170C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#C170C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170C8
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170C8 | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6688CB
Deuteranopia (green-blind)
#7D92C5
Tritanopia (blue-blind)
#C47A93
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #c170c8; /* rgb */ color: rgb(193, 112, 200); /* oklch */ color: oklch(66.6% 0.153 324.2);
Tailwind
colors: {
custom: {
50: '#d59bd9',
500: '#c170c8',
950: '#000000',
},
}SCSS
$custom: #c170c8; $custom-light: #d59bd9; $custom-dark: #000000;
JSON
{
"hex": "#c170c8",
"rgb": {
"r": 193,
"g": 112,
"b": 200
},
"hsl": {
"h": 295.227,
"s": 44.444,
"l": 61.176
},
"oklch": {
"l": 0.6657,
"c": 0.15274,
"h": 324.2
},
"luminance": 0.27096
}Semantic roles & 50–950 ramp
primary
#C170C8
secondary
#BCDAB9
accent
#B82E39
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140E14
muted
#837E83