#C170C5#C170C5
#C170C5 is a light, vivid purple. Relative luminance 0.270; OKLCH L 66.4% C 0.150 H 325.4°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #C170C5 |
|---|---|
| RGB | rgb(193, 112, 197) |
| HSL | hsl(297, 42%, 61%) |
| HSV | hsv(297, 43%, 77%) |
| CMYK | cmyk(2%, 43.1%, 0%, 22.7%) |
| CIE-LAB | lab(58.94, 44.90, -31.06) |
| CIE-LCH | lch(58.94, 54.60, 325.33°) |
| OKLab | oklab(66.43% 0.1233 -0.0851) |
| OKLCH | oklch(66.43% 0.15 325.4) |
| XYZ | xyz(37.8637, 26.9587, 56.0216) |
| Luminance | 0.2696 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.21
Orchid
#DA70D6
ΔE00 4.61
Soft Purple
#A66FB5
ΔE00 5.48
Wisteria
#A87DC2
ΔE00 6.36
Purplish Pink
#CE5DAE
ΔE00 6.51
Purpleish Pink
#DF4EC8
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170C5 #74C570
analogous
#9670C5 #C170C5 #C5709F
triadic
#C170C5 #C5C170 #70C5C1
tetradic
#C170C5 #C59670 #74C570 #709FC5
square
#C170C5 #C59670 #74C570 #709FC5
split-complementary
#C170C5 #9FC570 #70C596
monochromatic
#813685 #AB48B0 #C170C5 #D49CD7 #E7C7E8
Accessibility & contrast
On white
3.29
#C170C5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.39
#C170C5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170C5
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170C5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170C5 | 1.00 | 3.29 | 6.39 | 6.39 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6887C8
Deuteranopia (green-blind)
#7E91C2
Tritanopia (blue-blind)
#C57991
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #c170c5; /* rgb */ color: rgb(193, 112, 197); /* oklch */ color: oklch(66.4% 0.150 325.4);
Tailwind
colors: {
custom: {
50: '#d59bd7',
500: '#c170c5',
950: '#000000',
},
}SCSS
$custom: #c170c5; $custom-light: #d59bd7; $custom-dark: #000000;
JSON
{
"hex": "#c170c5",
"rgb": {
"r": 193,
"g": 112,
"b": 197
},
"hsl": {
"h": 297.176,
"s": 42.289,
"l": 60.588
},
"oklch": {
"l": 0.66432,
"c": 0.14979,
"h": 325.4
},
"luminance": 0.26957
}Semantic roles & 50–950 ramp
primary
#C170C5
secondary
#BAD9B8
accent
#B53036
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140E14
muted
#837E83