#C162D5#C162D5
#C162D5 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.2% C 0.188 H 320.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #C162D5 |
|---|---|
| RGB | rgb(193, 98, 213) |
| HSL | hsl(290, 58%, 61%) |
| HSV | hsv(290, 54%, 84%) |
| CMYK | cmyk(9.4%, 54%, 0%, 16.5%) |
| CIE-LAB | lab(56.96, 55.06, -43.23) |
| CIE-LCH | lch(56.96, 70.01, 321.86°) |
| OKLab | oklab(65.21% 0.1451 -0.12) |
| OKLCH | oklch(65.21% 0.188 320.4) |
| XYZ | xyz(38.3688, 24.8786, 65.7189) |
| Luminance | 0.2488 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.42
Pinkish Purple
#D648D7
ΔE00 4.72
Heliotrope
#D94FF5
ΔE00 5.54
Bright Lilac
#C95EFB
ΔE00 5.63
Pinky Purple
#C94CBE
ΔE00 5.87
Bright Lavender
#C760FF
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162D5 #76D562
analogous
#8762D5 #C162D5 #D562AF
triadic
#C162D5 #D5C162 #62D5C1
tetradic
#C162D5 #D58762 #76D562 #62AFD5
square
#C162D5 #D58762 #76D562 #62AFD5
split-complementary
#C162D5 #AFD562 #62D587
monochromatic
#822895 #AC35C5 #C162D5 #D492E2 #E7C3EF
Accessibility & contrast
On white
3.51
#C162D5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#C162D5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162D5
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162D5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162D5 | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D82D9
Deuteranopia (green-blind)
#6C8CD2
Tritanopia (blue-blind)
#C27392
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #c162d5; /* rgb */ color: rgb(193, 98, 213); /* oklch */ color: oklch(65.2% 0.188 320.4);
Tailwind
colors: {
custom: {
50: '#d693e2',
500: '#c162d5',
950: '#000000',
},
}SCSS
$custom: #c162d5; $custom-light: #d693e2; $custom-dark: #000000;
JSON
{
"hex": "#c162d5",
"rgb": {
"r": 193,
"g": 98,
"b": 213
},
"hsl": {
"h": 289.565,
"s": 57.789,
"l": 60.98
},
"oklch": {
"l": 0.65207,
"c": 0.18829,
"h": 320.4
},
"luminance": 0.24877
}Semantic roles & 50–950 ramp
primary
#C162D5
secondary
#BBDFB4
accent
#C5203D
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83