#C162F3#C162F3
#C162F3 is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.9% C 0.218 H 312.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #C162F3 |
|---|---|
| RGB | rgb(193, 98, 243) |
| HSL | hsl(279, 86%, 67%) |
| HSV | hsv(279, 60%, 95%) |
| CMYK | cmyk(20.6%, 59.7%, 0%, 4.7%) |
| CIE-LAB | lab(58.55, 61.11, -57.52) |
| CIE-LCH | lch(58.55, 83.92, 316.73°) |
| OKLab | oklab(66.89% 0.1465 -0.1616) |
| OKLCH | oklch(66.89% 0.218 312.2) |
| XYZ | xyz(42.5348, 26.5449, 87.6597) |
| Luminance | 0.2654 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.51
Bright Lavender
#C760FF
ΔE00 1.70
Easter Purple
#C071FE
ΔE00 3.58
Light Urple
#B36FF6
ΔE00 3.60
Heliotrope
#D94FF5
ΔE00 4.25
Light Purple
#BF77F6
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162F3 #94F362
analogous
#7962F3 #C162F3 #F362DD
triadic
#C162F3 #F3C162 #62F3C1
tetradic
#C162F3 #F37962 #94F362 #62DDF3
square
#C162F3 #F37962 #94F362 #62DDF3
split-complementary
#C162F3 #DDF362 #62F379
monochromatic
#8A10CB #AB29EF #C162F3 #D79BF7 #EED4FC
Accessibility & contrast
On white
3.33
#C162F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#C162F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162F3
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162F3 | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D88F8
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#BC7DA2
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #c162f3; /* rgb */ color: rgb(193, 98, 243); /* oklch */ color: oklch(66.9% 0.218 312.2);
Tailwind
colors: {
custom: {
50: '#d793f8',
500: '#c162f3',
950: '#000000',
},
}SCSS
$custom: #c162f3; $custom-light: #d793f8; $custom-dark: #000000;
JSON
{
"hex": "#c162f3",
"rgb": {
"r": 193,
"g": 98,
"b": 243
},
"hsl": {
"h": 279.31,
"s": 85.799,
"l": 66.863
},
"oklch": {
"l": 0.66887,
"c": 0.21814,
"h": 312.2
},
"luminance": 0.26544
}Semantic roles & 50–950 ramp
primary
#C162F3
secondary
#D1F0C1
accent
#E20350
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85