#C162E4#C162E4
#C162E4 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.0% C 0.203 H 316.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #C162E4 |
|---|---|
| RGB | rgb(193, 98, 228) |
| HSL | hsl(284, 71%, 64%) |
| HSV | hsv(284, 57%, 89%) |
| CMYK | cmyk(15.4%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(57.73, 58.03, -50.46) |
| CIE-LCH | lch(57.73, 76.90, 318.99°) |
| OKLab | oklab(66.02% 0.1461 -0.141) |
| OKLCH | oklch(66.02% 0.203 316) |
| XYZ | xyz(40.3615, 25.6756, 76.2135) |
| Luminance | 0.2567 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 3.27
Bright Lavender
#C760FF
ΔE00 3.81
Mediumorchid
#BA55D3
ΔE00 4.09
Heliotrope
#D94FF5
ΔE00 4.31
Light Urple
#B36FF6
ΔE00 5.01
Easter Purple
#C071FE
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162E4 #85E462
analogous
#8062E4 #C162E4 #E462C6
triadic
#C162E4 #E4C162 #62E4C1
tetradic
#C162E4 #E48062 #85E462 #62C6E4
square
#C162E4 #E48062 #85E462 #62C6E4
split-complementary
#C162E4 #C6E462 #62E480
monochromatic
#871EAE #AC2EDB #C162E4 #D696ED #EACAF6
Accessibility & contrast
On white
3.42
#C162E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#C162E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162E4
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162E4 | 1.00 | 3.42 | 6.13 | 6.13 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4085E8
Deuteranopia (green-blind)
#638DE1
Tritanopia (blue-blind)
#BF789A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #c162e4; /* rgb */ color: rgb(193, 98, 228); /* oklch */ color: oklch(66.0% 0.203 316.0);
Tailwind
colors: {
custom: {
50: '#d793ed',
500: '#c162e4',
950: '#000000',
},
}SCSS
$custom: #c162e4; $custom-light: #d793ed; $custom-dark: #000000;
JSON
{
"hex": "#c162e4",
"rgb": {
"r": 193,
"g": 98,
"b": 228
},
"hsl": {
"h": 283.846,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.66022,
"c": 0.20308,
"h": 316
},
"luminance": 0.25674
}Semantic roles & 50–950 ramp
primary
#C162E4
secondary
#C6E8BA
accent
#D31346
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84