#C162F4#C162F4
#C162F4 is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.9% C 0.219 H 311.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #C162F4 |
|---|---|
| RGB | rgb(193, 98, 244) |
| HSL | hsl(279, 87%, 67%) |
| HSV | hsv(279, 60%, 96%) |
| CMYK | cmyk(20.9%, 59.8%, 0%, 4.3%) |
| CIE-LAB | lab(58.61, 61.32, -57.98) |
| CIE-LCH | lch(58.61, 84.39, 316.60°) |
| OKLab | oklab(66.95% 0.1465 -0.163) |
| OKLCH | oklch(66.95% 0.219 311.9) |
| XYZ | xyz(42.6862, 26.6055, 88.4572) |
| Luminance | 0.2660 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.44
Bright Lavender
#C760FF
ΔE00 1.58
Easter Purple
#C071FE
ΔE00 3.50
Light Urple
#B36FF6
ΔE00 3.55
Heliotrope
#D94FF5
ΔE00 4.29
Light Purple
#BF77F6
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162F4 #95F462
analogous
#7862F4 #C162F4 #F462DE
triadic
#C162F4 #F4C162 #62F4C1
tetradic
#C162F4 #F47862 #95F462 #62DEF4
square
#C162F4 #F47862 #95F462 #62DEF4
split-complementary
#C162F4 #DEF462 #62F478
monochromatic
#8B0ECD #AA29F0 #C162F4 #D89BF8 #EED4FC
Accessibility & contrast
On white
3.32
#C162F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#C162F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162F4
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162F4 | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B88F9
Deuteranopia (green-blind)
#578FF0
Tritanopia (blue-blind)
#BB7DA2
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #c162f4; /* rgb */ color: rgb(193, 98, 244); /* oklch */ color: oklch(66.9% 0.219 311.9);
Tailwind
colors: {
custom: {
50: '#d793f8',
500: '#c162f4',
950: '#000000',
},
}SCSS
$custom: #c162f4; $custom-light: #d793f8; $custom-dark: #000000;
JSON
{
"hex": "#c162f4",
"rgb": {
"r": 193,
"g": 98,
"b": 244
},
"hsl": {
"h": 279.041,
"s": 86.905,
"l": 67.059
},
"oklch": {
"l": 0.66947,
"c": 0.21915,
"h": 311.9
},
"luminance": 0.26604
}Semantic roles & 50–950 ramp
primary
#C162F4
secondary
#D2F0C2
accent
#E30251
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85