#C162BB#C162BB
#C162BB is a light, vivid purple. Relative luminance 0.237; OKLCH L 63.9% C 0.164 H 329.7°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #C162BB |
|---|---|
| RGB | rgb(193, 98, 187) |
| HSL | hsl(304, 43%, 57%) |
| HSV | hsv(304, 49%, 76%) |
| CMYK | cmyk(0%, 49.2%, 3.1%, 24.3%) |
| CIE-LAB | lab(55.75, 50.24, -30.30) |
| CIE-LCH | lch(55.75, 58.67, 328.91°) |
| OKLab | oklab(63.92% 0.1416 -0.0828) |
| OKLCH | oklch(63.92% 0.164 329.7) |
| XYZ | xyz(35.3293, 23.6627, 49.7106) |
| Luminance | 0.2366 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.22
Pinky Purple
#C94CBE
ΔE00 4.27
Orchid (survey)
#C875C4
ΔE00 4.92
Purpleish Pink
#DF4EC8
ΔE00 5.35
Soft Purple
#A66FB5
ΔE00 6.03
Mediumorchid
#BA55D3
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162BB #62C168
analogous
#9762C1 #C162BB #C1628C
triadic
#C162BB #BBC162 #62BBC1
tetradic
#C162BB #C19762 #62C168 #628CC1
square
#C162BB #C19762 #62C168 #628CC1
split-complementary
#C162BB #8CC162 #62C197
monochromatic
#793074 #A5419E #C162BB #D28ECE #E4BAE1
Accessibility & contrast
On white
3.66
#C162BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#C162BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162BB
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162BB | 1.00 | 3.66 | 5.73 | 5.73 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#788AB8
Tritanopia (blue-blind)
#C76A86
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #c162bb; /* rgb */ color: rgb(193, 98, 187); /* oklch */ color: oklch(63.9% 0.164 329.7);
Tailwind
colors: {
custom: {
50: '#d692cf',
500: '#c162bb',
950: '#000000',
},
}SCSS
$custom: #c162bb; $custom-light: #d692cf; $custom-dark: #000000;
JSON
{
"hex": "#c162bb",
"rgb": {
"r": 193,
"g": 98,
"b": 187
},
"hsl": {
"h": 303.789,
"s": 43.379,
"l": 57.059
},
"oklch": {
"l": 0.63921,
"c": 0.16398,
"h": 329.7
},
"luminance": 0.23661
}Semantic roles & 50–950 ramp
primary
#C162BB
secondary
#ACD3AF
accent
#D35D55
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#150D14
muted
#837E82