#A159E7#A159E7
#A159E7 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.4% C 0.209 H 304.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A159E7 |
|---|---|
| RGB | rgb(161, 89, 231) |
| HSL | hsl(270, 75%, 63%) |
| HSV | hsv(270, 61%, 91%) |
| CMYK | cmyk(30.3%, 61.5%, 0%, 9.4%) |
| CIE-LAB | lab(52.39, 55.54, -60.90) |
| CIE-LCH | lch(52.39, 82.43, 312.36°) |
| OKLab | oklab(61.35% 0.1175 -0.1725) |
| OKLCH | oklch(61.35% 0.209 304.3) |
| XYZ | xyz(32.6909, 20.4915, 77.8188) |
| Luminance | 0.2049 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.58
Lighter Purple
#A55AF4
ΔE00 1.95
Purpley
#8756E4
ΔE00 4.99
Mediumorchid
#BA55D3
ΔE00 6.30
Amethyst
#9B5FC0
ΔE00 6.32
Mediumpurple
#9370DB
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A159E7 #9FE759
analogous
#5A59E7 #A159E7 #E759E6
triadic
#A159E7 #E7A159 #59E7A1
tetradic
#A159E7 #E75A59 #9FE759 #59E6E7
square
#A159E7 #E75A59 #9FE759 #59E6E7
split-complementary
#A159E7 #E6E759 #59E75A
monochromatic
#6419AD #8324DF #A159E7 #BF8EEF #DEC4F6
Accessibility & contrast
On white
4.12
#A159E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#A159E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A159E7
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A159E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A159E7 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#347DE4
Tritanopia (blue-blind)
#947798
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a159e7; /* rgb */ color: rgb(161, 89, 231); /* oklch */ color: oklch(61.4% 0.209 304.3);
Tailwind
colors: {
custom: {
50: '#c18bef',
500: '#a159e7',
950: '#000000',
},
}SCSS
$custom: #a159e7; $custom-light: #c18bef; $custom-dark: #000000;
JSON
{
"hex": "#a159e7",
"rgb": {
"r": 161,
"g": 89,
"b": 231
},
"hsl": {
"h": 270.423,
"s": 74.737,
"l": 62.745
},
"oklch": {
"l": 0.6135,
"c": 0.20868,
"h": 304.3
},
"luminance": 0.20491
}Semantic roles & 50–950 ramp
primary
#A159E7
secondary
#CEE8B4
accent
#D70F71
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85