#A159E4#A159E4
#A159E4 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.2% C 0.205 H 304.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A159E4 |
|---|---|
| RGB | rgb(161, 89, 228) |
| HSL | hsl(271, 72%, 62%) |
| HSV | hsv(271, 61%, 89%) |
| CMYK | cmyk(29.4%, 61%, 0%, 10.6%) |
| CIE-LAB | lab(52.20, 54.84, -59.52) |
| CIE-LCH | lch(52.20, 80.93, 312.66°) |
| OKLab | oklab(61.15% 0.1176 -0.1684) |
| OKLCH | oklch(61.15% 0.205 304.9) |
| XYZ | xyz(32.2708, 20.3234, 75.6065) |
| Luminance | 0.2032 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.49
Lighter Purple
#A55AF4
ΔE00 2.36
Purpley
#8756E4
ΔE00 5.04
Amethyst
#9B5FC0
ΔE00 5.91
Mediumorchid
#BA55D3
ΔE00 6.03
Mediumpurple
#9370DB
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A159E4 #9CE459
analogous
#5C59E4 #A159E4 #E459E2
triadic
#A159E4 #E4A159 #59E4A1
tetradic
#A159E4 #E45C59 #9CE459 #59E2E4
square
#A159E4 #E45C59 #9CE459 #59E2E4
split-complementary
#A159E4 #E2E459 #59E45C
monochromatic
#641BA7 #8324DB #A159E4 #BF8EED #DDC2F5
Accessibility & contrast
On white
4.15
#A159E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#A159E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A159E4
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A159E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A159E4 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#027AE8
Deuteranopia (green-blind)
#387DE1
Tritanopia (blue-blind)
#957696
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a159e4; /* rgb */ color: rgb(161, 89, 228); /* oklch */ color: oklch(61.2% 0.205 304.9);
Tailwind
colors: {
custom: {
50: '#c18bed',
500: '#a159e4',
950: '#000000',
},
}SCSS
$custom: #a159e4; $custom-light: #c18bed; $custom-dark: #000000;
JSON
{
"hex": "#a159e4",
"rgb": {
"r": 161,
"g": 89,
"b": 228
},
"hsl": {
"h": 271.079,
"s": 72.021,
"l": 62.157
},
"oklch": {
"l": 0.61154,
"c": 0.2054,
"h": 304.9
},
"luminance": 0.20323
}Semantic roles & 50–950 ramp
primary
#A159E4
secondary
#CBE6B3
accent
#D4116F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84