#C170BD#C170BD
#C170BD is a light, vivid purple. Relative luminance 0.266; OKLCH L 66.1% C 0.142 H 328.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #C170BD |
|---|---|
| RGB | rgb(193, 112, 189) |
| HSL | hsl(303, 40%, 60%) |
| HSV | hsv(303, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 2.1%, 24.3%) |
| CIE-LAB | lab(58.60, 43.42, -27.02) |
| CIE-LCH | lch(58.60, 51.14, 328.11°) |
| OKLab | oklab(66.07% 0.1216 -0.0736) |
| OKLCH | oklch(66.07% 0.142 328.8) |
| XYZ | xyz(36.9712, 26.6018, 51.3215) |
| Luminance | 0.2660 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 1.94
Orchid
#DA70D6
ΔE00 5.32
Purplish Pink
#CE5DAE
ΔE00 5.45
Soft Purple
#A66FB5
ΔE00 5.47
Pale Magenta
#D767AD
ΔE00 6.32
Wisteria
#A87DC2
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170BD #70C174
analogous
#9D70C1 #C170BD #C17095
triadic
#C170BD #BDC170 #70BDC1
tetradic
#C170BD #C19D70 #70C174 #7095C1
square
#C170BD #C19D70 #70C174 #7095C1
split-complementary
#C170BD #95C170 #70C19D
monochromatic
#7F377C #AA4AA5 #C170BD #D49BD1 #E6C5E4
Accessibility & contrast
On white
3.32
#C170BD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#C170BD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170BD
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170BD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170BD | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B86C0
Deuteranopia (green-blind)
#8191BA
Tritanopia (blue-blind)
#C6778E
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #c170bd; /* rgb */ color: rgb(193, 112, 189); /* oklch */ color: oklch(66.1% 0.142 328.8);
Tailwind
colors: {
custom: {
50: '#d59bd1',
500: '#c170bd',
950: '#000000',
},
}SCSS
$custom: #c170bd; $custom-light: #d59bd1; $custom-dark: #000000;
JSON
{
"hex": "#c170bd",
"rgb": {
"r": 193,
"g": 112,
"b": 189
},
"hsl": {
"h": 302.963,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.66075,
"c": 0.14213,
"h": 328.8
},
"luminance": 0.266
}Semantic roles & 50–950 ramp
primary
#C170BD
secondary
#B7D6B8
accent
#CF5E58
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82