#C162BD#C162BD
#C162BD is a light, vivid purple. Relative luminance 0.237; OKLCH L 64.0% C 0.166 H 328.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #C162BD |
|---|---|
| RGB | rgb(193, 98, 189) |
| HSL | hsl(303, 43%, 57%) |
| HSV | hsv(303, 49%, 76%) |
| CMYK | cmyk(0%, 49.2%, 2.1%, 24.3%) |
| CIE-LAB | lab(55.84, 50.60, -31.31) |
| CIE-LCH | lch(55.84, 59.50, 328.25°) |
| OKLab | oklab(64.01% 0.1419 -0.0857) |
| OKLCH | oklch(64.01% 0.166 328.9) |
| XYZ | xyz(35.5448, 23.7490, 50.8460) |
| Luminance | 0.2375 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 4.21
Purplish Pink
#CE5DAE
ΔE00 4.56
Orchid (survey)
#C875C4
ΔE00 4.92
Purpleish Pink
#DF4EC8
ΔE00 5.29
Mediumorchid
#BA55D3
ΔE00 5.96
Soft Purple
#A66FB5
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162BD #62C166
analogous
#9562C1 #C162BD #C1628E
triadic
#C162BD #BDC162 #62BDC1
tetradic
#C162BD #C19562 #62C166 #628EC1
square
#C162BD #C19562 #62C166 #628EC1
split-complementary
#C162BD #8EC162 #62C195
monochromatic
#793076 #A541A1 #C162BD #D28ECF #E4BAE2
Accessibility & contrast
On white
3.65
#C162BD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#C162BD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162BD
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162BD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162BD | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B7EC0
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#C76B87
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #c162bd; /* rgb */ color: rgb(193, 98, 189); /* oklch */ color: oklch(64.0% 0.166 328.9);
Tailwind
colors: {
custom: {
50: '#d692d1',
500: '#c162bd',
950: '#000000',
},
}SCSS
$custom: #c162bd; $custom-light: #d692d1; $custom-dark: #000000;
JSON
{
"hex": "#c162bd",
"rgb": {
"r": 193,
"g": 98,
"b": 189
},
"hsl": {
"h": 302.526,
"s": 43.379,
"l": 57.059
},
"oklch": {
"l": 0.64014,
"c": 0.16576,
"h": 328.9
},
"luminance": 0.23747
}Semantic roles & 50–950 ramp
primary
#C162BD
secondary
#ACD3AE
accent
#D35A55
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#150D14
muted
#837E82