#C170CF#C170CF
#C170CF is a light, vivid purple. Relative luminance 0.274; OKLCH L 66.9% C 0.160 H 321.5°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #C170CF |
|---|---|
| RGB | rgb(193, 112, 207) |
| HSL | hsl(291, 50%, 63%) |
| HSV | hsv(291, 46%, 81%) |
| CMYK | cmyk(6.8%, 45.9%, 0%, 18.8%) |
| CIE-LAB | lab(59.37, 46.82, -36.05) |
| CIE-LCH | lch(59.37, 59.09, 322.40°) |
| OKLab | oklab(66.9% 0.1251 -0.0993) |
| OKLCH | oklch(66.9% 0.16 321.5) |
| XYZ | xyz(39.0477, 27.4323, 62.2575) |
| Luminance | 0.2743 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.67
Orchid
#DA70D6
ΔE00 4.48
Soft Purple
#A66FB5
ΔE00 6.14
Wisteria
#A87DC2
ΔE00 6.38
Mediumorchid
#BA55D3
ΔE00 6.76
Light Purple
#BF77F6
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170CF #7ECF70
analogous
#9270CF #C170CF #CF70AD
triadic
#C170CF #CFC170 #70CFC1
tetradic
#C170CF #CF9270 #7ECF70 #70ADCF
square
#C170CF #CF9270 #7ECF70 #70ADCF
split-complementary
#C170CF #ADCF70 #70CF92
monochromatic
#853193 #AD42C0 #C170CF #D59EDE #E9CCEE
Accessibility & contrast
On white
3.24
#C170CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.49
#C170CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170CF
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170CF | 1.00 | 3.24 | 6.49 | 6.49 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6389D2
Deuteranopia (green-blind)
#7A92CC
Tritanopia (blue-blind)
#C37C96
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #c170cf; /* rgb */ color: rgb(193, 112, 207); /* oklch */ color: oklch(66.9% 0.160 321.5);
Tailwind
colors: {
custom: {
50: '#d59bde',
500: '#c170cf',
950: '#000000',
},
}SCSS
$custom: #c170cf; $custom-light: #d59bde; $custom-dark: #000000;
JSON
{
"hex": "#c170cf",
"rgb": {
"r": 193,
"g": 112,
"b": 207
},
"hsl": {
"h": 291.158,
"s": 49.738,
"l": 62.549
},
"oklch": {
"l": 0.66901,
"c": 0.15976,
"h": 321.5
},
"luminance": 0.27431
}Semantic roles & 50–950 ramp
primary
#C170CF
secondary
#C1DFBC
accent
#BD283E
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83