#C162F8#C162F8
#C162F8 is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 67.2% C 0.223 H 311.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #C162F8 |
|---|---|
| RGB | rgb(193, 98, 248) |
| HSL | hsl(278, 91%, 68%) |
| HSV | hsv(278, 60%, 97%) |
| CMYK | cmyk(22.2%, 60.5%, 0%, 2.7%) |
| CIE-LAB | lab(58.84, 62.16, -59.84) |
| CIE-LCH | lch(58.84, 86.28, 316.09°) |
| OKLab | oklab(67.19% 0.1465 -0.1684) |
| OKLCH | oklch(67.19% 0.223 311) |
| XYZ | xyz(43.3001, 26.8511, 91.6905) |
| Luminance | 0.2685 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.18
Bright Lilac
#C95EFB
ΔE00 1.33
Easter Purple
#C071FE
ΔE00 3.25
Light Urple
#B36FF6
ΔE00 3.37
Light Purple
#BF77F6
ΔE00 4.43
Heliotrope
#D94FF5
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162F8 #99F862
analogous
#7662F8 #C162F8 #F862E4
triadic
#C162F8 #F8C162 #62F8C1
tetradic
#C162F8 #F87662 #99F862 #62E4F8
square
#C162F8 #F87662 #99F862 #62E4F8
split-complementary
#C162F8 #E4F862 #62F876
monochromatic
#8B0AD6 #AA27F5 #C162F8 #D89DFB #EFD7FD
Accessibility & contrast
On white
3.30
#C162F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#C162F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162F8
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162F8 | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2489FD
Deuteranopia (green-blind)
#538FF4
Tritanopia (blue-blind)
#BA7EA4
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #c162f8; /* rgb */ color: rgb(193, 98, 248); /* oklch */ color: oklch(67.2% 0.223 311.0);
Tailwind
colors: {
custom: {
50: '#d793fb',
500: '#c162f8',
950: '#000000',
},
}SCSS
$custom: #c162f8; $custom-light: #d793fb; $custom-dark: #000000;
JSON
{
"hex": "#c162f8",
"rgb": {
"r": 193,
"g": 98,
"b": 248
},
"hsl": {
"h": 278,
"s": 91.463,
"l": 67.843
},
"oklch": {
"l": 0.67187,
"c": 0.22319,
"h": 311
},
"luminance": 0.2685
}Semantic roles & 50–950 ramp
primary
#C162F8
secondary
#D5F2C4
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85