#A162F9#A162F9
#A162F9 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.8% C 0.217 H 299.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A162F9 |
|---|---|
| RGB | rgb(161, 98, 249) |
| HSL | hsl(265, 93%, 68%) |
| HSV | hsv(265, 61%, 98%) |
| CMYK | cmyk(35.3%, 60.6%, 0%, 2.4%) |
| CIE-LAB | lab(55.23, 55.28, -66.39) |
| CIE-LCH | lch(55.23, 86.39, 309.79°) |
| OKLab | oklab(63.78% 0.1063 -0.1886) |
| OKLCH | oklch(63.78% 0.217 299.4) |
| XYZ | xyz(36.1603, 23.1516, 92.1678) |
| Luminance | 0.2315 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.09
Light Urple
#B36FF6
ΔE00 4.75
Lightish Purple
#A552E6
ΔE00 4.83
Mediumpurple
#9370DB
ΔE00 5.72
Bright Lavender
#C760FF
ΔE00 6.50
Purpley
#8756E4
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A162F9 #BAF962
analogous
#626EF9 #A162F9 #EC62F9
triadic
#A162F9 #F9A162 #62F9A1
tetradic
#A162F9 #F9626E #BAF962 #62F9EC
square
#A162F9 #F9626E #BAF962 #62F9EC
split-complementary
#A162F9 #F9EC62 #6EF962
monochromatic
#5F08D8 #7E27F7 #A162F9 #C49DFB #E8D8FE
Accessibility & contrast
On white
3.73
#A162F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#A162F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A162F9
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A162F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A162F9 | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0084FE
Deuteranopia (green-blind)
#2783F6
Tritanopia (blue-blind)
#8E83A5
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a162f9; /* rgb */ color: rgb(161, 98, 249); /* oklch */ color: oklch(63.8% 0.217 299.4);
Tailwind
colors: {
custom: {
50: '#c291fc',
500: '#a162f9',
950: '#000000',
},
}SCSS
$custom: #a162f9; $custom-light: #c291fc; $custom-dark: #000000;
JSON
{
"hex": "#a162f9",
"rgb": {
"r": 161,
"g": 98,
"b": 249
},
"hsl": {
"h": 265.033,
"s": 92.638,
"l": 68.039
},
"oklch": {
"l": 0.63776,
"c": 0.21652,
"h": 299.4
},
"luminance": 0.23152
}Semantic roles & 50–950 ramp
primary
#A162F9
secondary
#DFF2C4
accent
#E60086
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86