#A161E4#A161E4
#A161E4 is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.3% C 0.194 H 303.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A161E4 |
|---|---|
| RGB | rgb(161, 97, 228) |
| HSL | hsl(269, 71%, 64%) |
| HSV | hsv(269, 57%, 89%) |
| CMYK | cmyk(29.4%, 57.5%, 0%, 10.6%) |
| CIE-LAB | lab(53.74, 50.73, -57.05) |
| CIE-LCH | lch(53.74, 76.35, 311.65°) |
| OKLab | oklab(62.27% 0.108 -0.1612) |
| OKLCH | oklch(62.27% 0.194 303.8) |
| XYZ | xyz(32.9731, 21.7280, 75.8406) |
| Luminance | 0.2173 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.54
Lightish Purple
#A552E6
ΔE00 3.31
Mediumpurple
#9370DB
ΔE00 4.84
Light Urple
#B36FF6
ΔE00 5.36
Amethyst
#9B5FC0
ΔE00 5.93
Purpley
#8756E4
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A161E4 #A4E461
analogous
#6162E4 #A161E4 #E261E4
triadic
#A161E4 #E4A161 #61E4A1
tetradic
#A161E4 #E46162 #A4E461 #61E4E2
square
#A161E4 #E46162 #A4E461 #61E4E2
split-complementary
#A161E4 #E4E261 #62E461
monochromatic
#641EAD #822DDB #A161E4 #C095ED #DFCAF6
Accessibility & contrast
On white
3.93
#A161E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#A161E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A161E4
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A161E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A161E4 | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#287FE8
Deuteranopia (green-blind)
#4380E1
Tritanopia (blue-blind)
#957B99
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #a161e4; /* rgb */ color: rgb(161, 97, 228); /* oklch */ color: oklch(62.3% 0.194 303.8);
Tailwind
colors: {
custom: {
50: '#c090ed',
500: '#a161e4',
950: '#000000',
},
}SCSS
$custom: #a161e4; $custom-light: #c090ed; $custom-dark: #000000;
JSON
{
"hex": "#a161e4",
"rgb": {
"r": 161,
"g": 97,
"b": 228
},
"hsl": {
"h": 269.313,
"s": 70.811,
"l": 63.725
},
"oklch": {
"l": 0.62274,
"c": 0.19402,
"h": 303.8
},
"luminance": 0.21728
}Semantic roles & 50–950 ramp
primary
#A161E4
secondary
#D1E7B9
accent
#D31375
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84