#C162CC#C162CC
#C162CC is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.7% C 0.180 H 323.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #C162CC |
|---|---|
| RGB | rgb(193, 98, 204) |
| HSL | hsl(294, 51%, 59%) |
| HSV | hsv(294, 52%, 80%) |
| CMYK | cmyk(5.4%, 52%, 0%, 20%) |
| CIE-LAB | lab(56.52, 53.34, -38.81) |
| CIE-LCH | lch(56.52, 65.97, 323.96°) |
| OKLab | oklab(64.74% 0.1441 -0.1072) |
| OKLCH | oklch(64.74% 0.18 323.4) |
| XYZ | xyz(37.2580, 24.4342, 59.8688) |
| Luminance | 0.2443 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.93
Pinkish Purple
#D648D7
ΔE00 4.78
Pinky Purple
#C94CBE
ΔE00 4.87
Purpleish Pink
#DF4EC8
ΔE00 5.72
Orchid (survey)
#C875C4
ΔE00 5.77
Orchid
#DA70D6
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162CC #6DCC62
analogous
#8C62CC #C162CC #CC62A2
triadic
#C162CC #CCC162 #62CCC1
tetradic
#C162CC #CC8C62 #6DCC62 #62A2CC
square
#C162CC #CC8C62 #6DCC62 #62A2CC
split-complementary
#C162CC #A2CC62 #62CC8C
monochromatic
#7E2C88 #A93BB6 #C162CC #D390DB #E5BEEA
Accessibility & contrast
On white
3.57
#C162CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#C162CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162CC
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162CC | 1.00 | 3.57 | 5.89 | 5.89 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5380CF
Deuteranopia (green-blind)
#708BC9
Tritanopia (blue-blind)
#C4708E
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #c162cc; /* rgb */ color: rgb(193, 98, 204); /* oklch */ color: oklch(64.7% 0.180 323.4);
Tailwind
colors: {
custom: {
50: '#d692dc',
500: '#c162cc',
950: '#000000',
},
}SCSS
$custom: #c162cc; $custom-light: #d692dc; $custom-dark: #000000;
JSON
{
"hex": "#c162cc",
"rgb": {
"r": 193,
"g": 98,
"b": 204
},
"hsl": {
"h": 293.774,
"s": 50.962,
"l": 59.216
},
"oklch": {
"l": 0.64743,
"c": 0.17964,
"h": 323.4
},
"luminance": 0.24432
}Semantic roles & 50–950 ramp
primary
#C162CC
secondary
#B4DAB0
accent
#DA4D5C
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83