#C162F6#C162F6
#C162F6 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 67.1% C 0.221 H 311.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #C162F6 |
|---|---|
| RGB | rgb(193, 98, 246) |
| HSL | hsl(279, 89%, 67%) |
| HSV | hsv(279, 60%, 96%) |
| CMYK | cmyk(21.5%, 60.2%, 0%, 3.5%) |
| CIE-LAB | lab(58.72, 61.74, -58.91) |
| CIE-LCH | lch(58.72, 85.34, 316.34°) |
| OKLab | oklab(67.07% 0.1465 -0.1657) |
| OKLCH | oklch(67.07% 0.221 311.5) |
| XYZ | xyz(42.9915, 26.7276, 90.0651) |
| Luminance | 0.2673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.36
Bright Lavender
#C760FF
ΔE00 1.36
Easter Purple
#C071FE
ΔE00 3.37
Light Urple
#B36FF6
ΔE00 3.45
Heliotrope
#D94FF5
ΔE00 4.38
Light Purple
#BF77F6
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162F6 #97F662
analogous
#7762F6 #C162F6 #F662E1
triadic
#C162F6 #F6C162 #62F6C1
tetradic
#C162F6 #F67762 #97F662 #62E1F6
square
#C162F6 #F67762 #97F662 #62E1F6
split-complementary
#C162F6 #E1F662 #62F677
monochromatic
#8B0CD2 #AA28F3 #C162F6 #D89CF9 #EFD6FD
Accessibility & contrast
On white
3.31
#C162F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#C162F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162F6
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162F6 | 1.00 | 3.31 | 6.35 | 6.35 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2889FB
Deuteranopia (green-blind)
#558FF2
Tritanopia (blue-blind)
#BB7EA3
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #c162f6; /* rgb */ color: rgb(193, 98, 246); /* oklch */ color: oklch(67.1% 0.221 311.5);
Tailwind
colors: {
custom: {
50: '#d793fa',
500: '#c162f6',
950: '#000000',
},
}SCSS
$custom: #c162f6; $custom-light: #d793fa; $custom-dark: #000000;
JSON
{
"hex": "#c162f6",
"rgb": {
"r": 193,
"g": 98,
"b": 246
},
"hsl": {
"h": 278.514,
"s": 89.157,
"l": 67.451
},
"oklch": {
"l": 0.67066,
"c": 0.22116,
"h": 311.5
},
"luminance": 0.26727
}Semantic roles & 50–950 ramp
primary
#C162F6
secondary
#D3F1C3
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85