#C162E2#C162E2
#C162E2 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 65.9% C 0.201 H 316.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #C162E2 |
|---|---|
| RGB | rgb(193, 98, 226) |
| HSL | hsl(285, 69%, 64%) |
| HSV | hsv(285, 57%, 89%) |
| CMYK | cmyk(14.6%, 56.6%, 0%, 11.4%) |
| CIE-LAB | lab(57.62, 57.62, -49.51) |
| CIE-LCH | lch(57.62, 75.97, 319.33°) |
| OKLab | oklab(65.91% 0.1461 -0.1382) |
| OKLCH | oklch(65.91% 0.201 316.6) |
| XYZ | xyz(40.0854, 25.5652, 74.7598) |
| Luminance | 0.2556 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 3.57
Mediumorchid
#BA55D3
ΔE00 3.91
Bright Lavender
#C760FF
ΔE00 4.12
Heliotrope
#D94FF5
ΔE00 4.41
Light Urple
#B36FF6
ΔE00 5.26
Easter Purple
#C071FE
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162E2 #83E262
analogous
#8162E2 #C162E2 #E262C3
triadic
#C162E2 #E2C162 #62E2C1
tetradic
#C162E2 #E28162 #83E262 #62C3E2
square
#C162E2 #E28162 #83E262 #62C3E2
split-complementary
#C162E2 #C3E262 #62E281
monochromatic
#861FAA #AD2ED8 #C162E2 #D596EC #EAC9F5
Accessibility & contrast
On white
3.44
#C162E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#C162E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162E2
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162E2 | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4284E6
Deuteranopia (green-blind)
#648DDF
Tritanopia (blue-blind)
#C07799
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #c162e2; /* rgb */ color: rgb(193, 98, 226); /* oklch */ color: oklch(65.9% 0.201 316.6);
Tailwind
colors: {
custom: {
50: '#d793ec',
500: '#c162e2',
950: '#000000',
},
}SCSS
$custom: #c162e2; $custom-light: #d793ec; $custom-dark: #000000;
JSON
{
"hex": "#c162e2",
"rgb": {
"r": 193,
"g": 98,
"b": 226
},
"hsl": {
"h": 284.531,
"s": 68.817,
"l": 63.529
},
"oklch": {
"l": 0.6591,
"c": 0.20109,
"h": 316.6
},
"luminance": 0.25564
}Semantic roles & 50–950 ramp
primary
#C162E2
secondary
#C5E7B9
accent
#D11545
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84