#A162E6#A162E6
#A162E6 is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.5% C 0.195 H 303.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #A162E6 |
|---|---|
| RGB | rgb(161, 98, 230) |
| HSL | hsl(269, 73%, 64%) |
| HSV | hsv(269, 57%, 90%) |
| CMYK | cmyk(30%, 57.4%, 0%, 9.8%) |
| CIE-LAB | lab(54.05, 50.69, -57.67) |
| CIE-LCH | lch(54.05, 76.78, 311.31°) |
| OKLab | oklab(62.54% 0.1068 -0.163) |
| OKLCH | oklch(62.54% 0.195 303.2) |
| XYZ | xyz(33.3453, 22.0256, 77.3422) |
| Luminance | 0.2203 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.44
Lightish Purple
#A552E6
ΔE00 3.58
Mediumpurple
#9370DB
ΔE00 4.68
Light Urple
#B36FF6
ΔE00 5.07
Purpley
#8756E4
ΔE00 6.08
Amethyst
#9B5FC0
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A162E6 #A7E662
analogous
#6265E6 #A162E6 #E362E6
triadic
#A162E6 #E6A162 #62E6A1
tetradic
#A162E6 #E66265 #A7E662 #62E6E3
square
#A162E6 #E66265 #A7E662 #62E6E3
split-complementary
#A162E6 #E6E362 #65E662
monochromatic
#631CB1 #812DDE #A162E6 #C197EE #E0CCF7
Accessibility & contrast
On white
3.89
#A162E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#A162E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A162E6
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A162E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A162E6 | 1.00 | 3.89 | 5.41 | 5.41 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2780EA
Deuteranopia (green-blind)
#4381E3
Tritanopia (blue-blind)
#947C9B
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #a162e6; /* rgb */ color: rgb(161, 98, 230); /* oklch */ color: oklch(62.5% 0.195 303.2);
Tailwind
colors: {
custom: {
50: '#c191ef',
500: '#a162e6',
950: '#000000',
},
}SCSS
$custom: #a162e6; $custom-light: #c191ef; $custom-dark: #000000;
JSON
{
"hex": "#a162e6",
"rgb": {
"r": 161,
"g": 98,
"b": 230
},
"hsl": {
"h": 268.636,
"s": 72.527,
"l": 64.314
},
"oklch": {
"l": 0.62544,
"c": 0.19486,
"h": 303.2
},
"luminance": 0.22026
}Semantic roles & 50–950 ramp
primary
#A162E6
secondary
#D3E9BB
accent
#D51177
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84