#A159B2#A159B2
#A159B2 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.2% C 0.151 H 319.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A159B2 |
|---|---|
| RGB | rgb(161, 89, 178) |
| HSL | hsl(289, 37%, 52%) |
| HSV | hsv(289, 50%, 70%) |
| CMYK | cmyk(9.6%, 50%, 0%, 30.2%) |
| CIE-LAB | lab(49.42, 43.86, -35.28) |
| CIE-LCH | lch(49.42, 56.29, 321.19°) |
| OKLab | oklab(58.22% 0.1153 -0.0977) |
| OKLCH | oklch(58.22% 0.151 319.7) |
| XYZ | xyz(26.3052, 17.9372, 44.1874) |
| Luminance | 0.1794 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.60
Deep Lavender
#8D5EB7
ΔE00 4.96
Medium Purple
#9E43A2
ΔE00 5.93
Ugly Purple
#A442A0
ΔE00 6.14
Mediumorchid
#BA55D3
ΔE00 6.45
Soft Purple
#A66FB5
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A159B2 #6AB259
analogous
#7459B2 #A159B2 #B25997
triadic
#A159B2 #B2A159 #59B2A1
tetradic
#A159B2 #B27459 #6AB259 #5997B2
square
#A159B2 #B27459 #6AB259 #5997B2
split-complementary
#A159B2 #97B259 #59B274
monochromatic
#592E63 #7E418D #A159B2 #B983C5 #D0ADD9
Accessibility & contrast
On white
4.58
#A159B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#A159B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A159B2
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A159B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A159B2 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A70B5
Deuteranopia (green-blind)
#5F78B0
Tritanopia (blue-blind)
#A2657D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #a159b2; /* rgb */ color: rgb(161, 89, 178); /* oklch */ color: oklch(58.2% 0.151 319.7);
Tailwind
colors: {
custom: {
50: '#bf8ac9',
500: '#a159b2',
950: '#000000',
},
}SCSS
$custom: #a159b2; $custom-light: #bf8ac9; $custom-dark: #000000;
JSON
{
"hex": "#a159b2",
"rgb": {
"r": 161,
"g": 89,
"b": 178
},
"hsl": {
"h": 288.539,
"s": 36.626,
"l": 52.353
},
"oklch": {
"l": 0.58217,
"c": 0.1511,
"h": 319.7
},
"luminance": 0.17936
}Semantic roles & 50–950 ramp
primary
#A159B2
secondary
#A7C7A0
accent
#CD5B71
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120C13
muted
#817D82