#A162E4#A162E4
#A162E4 is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.4% C 0.193 H 303.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A162E4 |
|---|---|
| RGB | rgb(161, 98, 228) |
| HSL | hsl(269, 71%, 64%) |
| HSV | hsv(269, 57%, 89%) |
| CMYK | cmyk(29.4%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(53.94, 50.21, -56.73) |
| CIE-LCH | lch(53.94, 75.76, 311.51°) |
| OKLab | oklab(62.42% 0.1068 -0.1603) |
| OKLCH | oklch(62.42% 0.193 303.7) |
| XYZ | xyz(33.0661, 21.9139, 75.8716) |
| Luminance | 0.2191 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.66
Lightish Purple
#A552E6
ΔE00 3.55
Mediumpurple
#9370DB
ΔE00 4.65
Light Urple
#B36FF6
ΔE00 5.19
Amethyst
#9B5FC0
ΔE00 5.98
Purpley
#8756E4
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A162E4 #A5E462
analogous
#6264E4 #A162E4 #E262E4
triadic
#A162E4 #E4A162 #62E4A1
tetradic
#A162E4 #E46264 #A5E462 #62E4E2
square
#A162E4 #E46264 #A5E462 #62E4E2
split-complementary
#A162E4 #E4E262 #64E462
monochromatic
#641EAE #822EDB #A162E4 #C096ED #E0CAF6
Accessibility & contrast
On white
3.90
#A162E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#A162E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A162E4
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A162E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A162E4 | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B7FE8
Deuteranopia (green-blind)
#4581E1
Tritanopia (blue-blind)
#957C9A
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #a162e4; /* rgb */ color: rgb(161, 98, 228); /* oklch */ color: oklch(62.4% 0.193 303.7);
Tailwind
colors: {
custom: {
50: '#c091ed',
500: '#a162e4',
950: '#000000',
},
}SCSS
$custom: #a162e4; $custom-light: #c091ed; $custom-dark: #000000;
JSON
{
"hex": "#a162e4",
"rgb": {
"r": 161,
"g": 98,
"b": 228
},
"hsl": {
"h": 269.077,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.62419,
"c": 0.19256,
"h": 303.7
},
"luminance": 0.21914
}Semantic roles & 50–950 ramp
primary
#A162E4
secondary
#D2E8BA
accent
#D31376
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84