#C162EF#C162EF
#C162EF is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.7% C 0.214 H 313.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #C162EF |
|---|---|
| RGB | rgb(193, 98, 239) |
| HSL | hsl(280, 82%, 66%) |
| HSV | hsv(280, 59%, 94%) |
| CMYK | cmyk(19.2%, 59%, 0%, 6.3%) |
| CIE-LAB | lab(58.33, 60.28, -55.65) |
| CIE-LCH | lch(58.33, 82.04, 317.28°) |
| OKLab | oklab(66.65% 0.1465 -0.1562) |
| OKLCH | oklch(66.65% 0.214 313.2) |
| XYZ | xyz(41.9373, 26.3060, 84.5130) |
| Luminance | 0.2631 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.86
Bright Lavender
#C760FF
ΔE00 2.21
Light Urple
#B36FF6
ΔE00 3.89
Easter Purple
#C071FE
ΔE00 3.92
Heliotrope
#D94FF5
ΔE00 4.15
Light Purple
#BF77F6
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162EF #90EF62
analogous
#7A62EF #C162EF #EF62D6
triadic
#C162EF #EFC162 #62EFC1
tetradic
#C162EF #EF7A62 #90EF62 #62D6EF
square
#C162EF #EF7A62 #90EF62 #62D6EF
split-complementary
#C162EF #D6EF62 #62EF7A
monochromatic
#8A14C3 #AB2AE9 #C162EF #D79AF5 #EDD1FA
Accessibility & contrast
On white
3.35
#C162EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#C162EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162EF
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162EF | 1.00 | 3.35 | 6.26 | 6.26 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3387F3
Deuteranopia (green-blind)
#5B8EEC
Tritanopia (blue-blind)
#BC7BA0
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c162ef; /* rgb */ color: rgb(193, 98, 239); /* oklch */ color: oklch(66.7% 0.214 313.2);
Tailwind
colors: {
custom: {
50: '#d793f5',
500: '#c162ef',
950: '#000000',
},
}SCSS
$custom: #c162ef; $custom-light: #d793f5; $custom-dark: #000000;
JSON
{
"hex": "#c162ef",
"rgb": {
"r": 193,
"g": 98,
"b": 239
},
"hsl": {
"h": 280.426,
"s": 81.503,
"l": 66.078
},
"oklch": {
"l": 0.66652,
"c": 0.21411,
"h": 313.2
},
"luminance": 0.26305
}Semantic roles & 50–950 ramp
primary
#C162EF
secondary
#CEEEBF
accent
#DE084E
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150D17
muted
#837E85