#A161E8#A161E8
#A161E8 is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.5% C 0.199 H 302.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A161E8 |
|---|---|
| RGB | rgb(161, 97, 232) |
| HSL | hsl(268, 75%, 65%) |
| HSV | hsv(268, 58%, 91%) |
| CMYK | cmyk(30.6%, 58.2%, 0%, 9%) |
| CIE-LAB | lab(53.98, 51.69, -58.91) |
| CIE-LCH | lch(53.98, 78.37, 311.26°) |
| OKLab | oklab(62.53% 0.108 -0.1667) |
| OKLCH | oklch(62.53% 0.199 302.9) |
| XYZ | xyz(33.5348, 21.9527, 78.7989) |
| Luminance | 0.2195 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.09
Lightish Purple
#A552E6
ΔE00 3.39
Mediumpurple
#9370DB
ΔE00 4.91
Light Urple
#B36FF6
ΔE00 5.15
Purpley
#8756E4
ΔE00 5.91
Amethyst
#9B5FC0
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A161E8 #A8E861
analogous
#6165E8 #A161E8 #E461E8
triadic
#A161E8 #E8A161 #61E8A1
tetradic
#A161E8 #E86165 #A8E861 #61E8E4
square
#A161E8 #E86165 #A8E861 #61E8E4
split-complementary
#A161E8 #E8E461 #65E861
monochromatic
#631AB4 #812CE0 #A161E8 #C196F0 #E1CCF8
Accessibility & contrast
On white
3.90
#A161E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#A161E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A161E8
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A161E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A161E8 | 1.00 | 3.90 | 5.39 | 5.39 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2080EC
Deuteranopia (green-blind)
#3F81E5
Tritanopia (blue-blind)
#947C9B
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #a161e8; /* rgb */ color: rgb(161, 97, 232); /* oklch */ color: oklch(62.5% 0.199 302.9);
Tailwind
colors: {
custom: {
50: '#c190f0',
500: '#a161e8',
950: '#000000',
},
}SCSS
$custom: #a161e8; $custom-light: #c190f0; $custom-dark: #000000;
JSON
{
"hex": "#a161e8",
"rgb": {
"r": 161,
"g": 97,
"b": 232
},
"hsl": {
"h": 268.444,
"s": 74.586,
"l": 64.51
},
"oklch": {
"l": 0.62526,
"c": 0.19858,
"h": 302.9
},
"luminance": 0.21953
}Semantic roles & 50–950 ramp
primary
#A161E8
secondary
#D4EABB
accent
#D70F78
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85