#A161E7#A161E7
#A161E7 is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.5% C 0.197 H 303.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A161E7 |
|---|---|
| RGB | rgb(161, 97, 231) |
| HSL | hsl(269, 74%, 64%) |
| HSV | hsv(269, 58%, 91%) |
| CMYK | cmyk(30.3%, 58%, 0%, 9.4%) |
| CIE-LAB | lab(53.92, 51.45, -58.45) |
| CIE-LCH | lch(53.92, 77.87, 311.35°) |
| OKLab | oklab(62.46% 0.108 -0.1653) |
| OKLCH | oklch(62.46% 0.197 303.2) |
| XYZ | xyz(33.3932, 21.8960, 78.0529) |
| Luminance | 0.2190 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.20
Lightish Purple
#A552E6
ΔE00 3.36
Mediumpurple
#9370DB
ΔE00 4.89
Light Urple
#B36FF6
ΔE00 5.20
Purpley
#8756E4
ΔE00 5.92
Amethyst
#9B5FC0
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A161E7 #A7E761
analogous
#6164E7 #A161E7 #E461E7
triadic
#A161E7 #E7A161 #61E7A1
tetradic
#A161E7 #E76164 #A7E761 #61E7E4
square
#A161E7 #E76164 #A7E761 #61E7E4
split-complementary
#A161E7 #E7E461 #64E761
monochromatic
#631BB2 #812CDF #A161E7 #C196EF #E0CBF7
Accessibility & contrast
On white
3.90
#A161E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#A161E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A161E7
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A161E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A161E7 | 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)
#2280EB
Deuteranopia (green-blind)
#4081E4
Tritanopia (blue-blind)
#947C9B
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #a161e7; /* rgb */ color: rgb(161, 97, 231); /* oklch */ color: oklch(62.5% 0.197 303.2);
Tailwind
colors: {
custom: {
50: '#c190ef',
500: '#a161e7',
950: '#000000',
},
}SCSS
$custom: #a161e7; $custom-light: #c190ef; $custom-dark: #000000;
JSON
{
"hex": "#a161e7",
"rgb": {
"r": 161,
"g": 97,
"b": 231
},
"hsl": {
"h": 268.657,
"s": 73.626,
"l": 64.314
},
"oklch": {
"l": 0.62462,
"c": 0.19745,
"h": 303.2
},
"luminance": 0.21896
}Semantic roles & 50–950 ramp
primary
#A161E7
secondary
#D3E9BB
accent
#D61077
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84