#C162EB#C162EB
#C162EB is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.4% C 0.210 H 314.2°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #C162EB |
|---|---|
| RGB | rgb(193, 98, 235) |
| HSL | hsl(282, 77%, 65%) |
| HSV | hsv(282, 58%, 92%) |
| CMYK | cmyk(17.9%, 58.3%, 0%, 7.8%) |
| CIE-LAB | lab(58.11, 59.45, -53.78) |
| CIE-LCH | lch(58.11, 80.16, 317.87°) |
| OKLab | oklab(66.42% 0.1464 -0.1507) |
| OKLCH | oklch(66.42% 0.21 314.2) |
| XYZ | xyz(41.3529, 26.0722, 81.4352) |
| Luminance | 0.2607 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.32
Bright Lavender
#C760FF
ΔE00 2.77
Heliotrope
#D94FF5
ΔE00 4.13
Light Urple
#B36FF6
ΔE00 4.24
Easter Purple
#C071FE
ΔE00 4.33
Mediumorchid
#BA55D3
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162EB #8CEB62
analogous
#7C62EB #C162EB #EB62D0
triadic
#C162EB #EBC162 #62EBC1
tetradic
#C162EB #EB7C62 #8CEB62 #62D0EB
square
#C162EB #EB7C62 #8CEB62 #62D0EB
split-complementary
#C162EB #D0EB62 #62EB7C
monochromatic
#8918BB #AC2CE4 #C162EB #D698F2 #ECCFF9
Accessibility & contrast
On white
3.38
#C162EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#C162EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162EB
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162EB | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#5E8EE8
Tritanopia (blue-blind)
#BD7A9D
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c162eb; /* rgb */ color: rgb(193, 98, 235); /* oklch */ color: oklch(66.4% 0.210 314.2);
Tailwind
colors: {
custom: {
50: '#d793f2',
500: '#c162eb',
950: '#000000',
},
}SCSS
$custom: #c162eb; $custom-light: #d793f2; $custom-dark: #000000;
JSON
{
"hex": "#c162eb",
"rgb": {
"r": 193,
"g": 98,
"b": 235
},
"hsl": {
"h": 281.606,
"s": 77.401,
"l": 65.294
},
"oklch": {
"l": 0.6642,
"c": 0.21009,
"h": 314.2
},
"luminance": 0.26071
}Semantic roles & 50–950 ramp
primary
#C162EB
secondary
#CBEBBD
accent
#DA0C4B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D17
muted
#837E85