#C162E8#C162E8
#C162E8 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.2% C 0.207 H 315.0°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #C162E8 |
|---|---|
| RGB | rgb(193, 98, 232) |
| HSL | hsl(283, 74%, 65%) |
| HSV | hsv(283, 58%, 91%) |
| CMYK | cmyk(16.8%, 57.8%, 0%, 9%) |
| CIE-LAB | lab(57.94, 58.84, -52.36) |
| CIE-LCH | lch(57.94, 78.76, 318.33°) |
| OKLab | oklab(66.25% 0.1463 -0.1466) |
| OKLCH | oklch(66.25% 0.207 315) |
| XYZ | xyz(40.9232, 25.9003, 79.1718) |
| Luminance | 0.2590 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.71
Bright Lavender
#C760FF
ΔE00 3.21
Heliotrope
#D94FF5
ΔE00 4.18
Mediumorchid
#BA55D3
ΔE00 4.48
Light Urple
#B36FF6
ΔE00 4.55
Easter Purple
#C071FE
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162E8 #89E862
analogous
#7E62E8 #C162E8 #E862CC
triadic
#C162E8 #E8C162 #62E8C1
tetradic
#C162E8 #E87E62 #89E862 #62CCE8
square
#C162E8 #E87E62 #89E862 #62CCE8
split-complementary
#C162E8 #CCE862 #62E87E
monochromatic
#881BB5 #AC2DE0 #C162E8 #D697F0 #EBCDF8
Accessibility & contrast
On white
3.40
#C162E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#C162E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162E8
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162E8 | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B86EC
Deuteranopia (green-blind)
#608EE5
Tritanopia (blue-blind)
#BE799C
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #c162e8; /* rgb */ color: rgb(193, 98, 232); /* oklch */ color: oklch(66.2% 0.207 315.0);
Tailwind
colors: {
custom: {
50: '#d793f0',
500: '#c162e8',
950: '#000000',
},
}SCSS
$custom: #c162e8; $custom-light: #d793f0; $custom-dark: #000000;
JSON
{
"hex": "#c162e8",
"rgb": {
"r": 193,
"g": 98,
"b": 232
},
"hsl": {
"h": 282.537,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.66248,
"c": 0.20708,
"h": 315
},
"luminance": 0.25899
}Semantic roles & 50–950 ramp
primary
#C162E8
secondary
#C9EABC
accent
#D70F49
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84