#C162F9#C162F9
#C162F9 is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 67.2% C 0.224 H 310.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #C162F9 |
|---|---|
| RGB | rgb(193, 98, 249) |
| HSL | hsl(278, 93%, 68%) |
| HSV | hsv(278, 61%, 98%) |
| CMYK | cmyk(22.5%, 60.6%, 0%, 2.4%) |
| CIE-LAB | lab(58.89, 62.37, -60.30) |
| CIE-LCH | lch(58.89, 86.75, 315.97°) |
| OKLab | oklab(67.25% 0.1464 -0.1698) |
| OKLCH | oklch(67.25% 0.224 310.8) |
| XYZ | xyz(43.4557, 26.9133, 92.5098) |
| Luminance | 0.2691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.10
Bright Lilac
#C95EFB
ΔE00 1.34
Easter Purple
#C071FE
ΔE00 3.20
Light Urple
#B36FF6
ΔE00 3.34
Light Purple
#BF77F6
ΔE00 4.43
Heliotrope
#D94FF5
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162F9 #9AF962
analogous
#7562F9 #C162F9 #F962E6
triadic
#C162F9 #F9C162 #62F9C1
tetradic
#C162F9 #F97562 #9AF962 #62E6F9
square
#C162F9 #F97562 #9AF962 #62E6F9
split-complementary
#C162F9 #E6F962 #62F975
monochromatic
#8B08D8 #AA27F7 #C162F9 #D89DFB #F0D8FE
Accessibility & contrast
On white
3.29
#C162F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#C162F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162F9
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162F9 | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2289FE
Deuteranopia (green-blind)
#528FF5
Tritanopia (blue-blind)
#BA7FA5
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #c162f9; /* rgb */ color: rgb(193, 98, 249); /* oklch */ color: oklch(67.2% 0.224 310.8);
Tailwind
colors: {
custom: {
50: '#d793fc',
500: '#c162f9',
950: '#000000',
},
}SCSS
$custom: #c162f9; $custom-light: #d793fc; $custom-dark: #000000;
JSON
{
"hex": "#c162f9",
"rgb": {
"r": 193,
"g": 98,
"b": 249
},
"hsl": {
"h": 277.748,
"s": 92.638,
"l": 68.039
},
"oklch": {
"l": 0.67247,
"c": 0.2242,
"h": 310.8
},
"luminance": 0.26912
}Semantic roles & 50–950 ramp
primary
#C162F9
secondary
#D5F2C4
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86