#A151AA#A151AA
#A151AA is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.6% C 0.156 H 323.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A151AA |
|---|---|
| RGB | rgb(161, 81, 170) |
| HSL | hsl(294, 35%, 49%) |
| HSV | hsv(294, 52%, 67%) |
| CMYK | cmyk(5.3%, 52.4%, 0%, 33.3%) |
| CIE-LAB | lab(47.45, 46.42, -33.69) |
| CIE-LCH | lch(47.45, 57.35, 324.03°) |
| OKLab | oklab(56.63% 0.1255 -0.093) |
| OKLCH | oklch(56.63% 0.156 323.5) |
| XYZ | xyz(24.8954, 16.3654, 39.8699) |
| Luminance | 0.1636 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.56
Ugly Purple
#A442A0
ΔE00 3.71
Purply
#983FB2
ΔE00 5.51
Amethyst
#9B5FC0
ΔE00 5.76
Deep Lavender
#8D5EB7
ΔE00 6.40
Purpleish
#98568D
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A151AA #5AAA51
analogous
#7551AA #A151AA #AA5187
triadic
#A151AA #AAA151 #51AAA1
tetradic
#A151AA #AA7551 #5AAA51 #5187AA
square
#A151AA #AA7551 #5AAA51 #5187AA
split-complementary
#A151AA #87AA51 #51AA75
monochromatic
#522A57 #7A3D81 #A151AA #B879BF #CEA2D3
Accessibility & contrast
On white
4.91
#A151AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#A151AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A151AA
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A151AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A151AA | 1.00 | 4.91 | 4.27 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#446AAD
Deuteranopia (green-blind)
#5D74A7
Tritanopia (blue-blind)
#A45C76
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #a151aa; /* rgb */ color: rgb(161, 81, 170); /* oklch */ color: oklch(56.6% 0.156 323.5);
Tailwind
colors: {
custom: {
50: '#bf85c3',
500: '#a151aa',
950: '#000000',
},
}SCSS
$custom: #a151aa; $custom-light: #bf85c3; $custom-dark: #000000;
JSON
{
"hex": "#a151aa",
"rgb": {
"r": 161,
"g": 81,
"b": 170
},
"hsl": {
"h": 293.933,
"s": 35.458,
"l": 49.216
},
"oklch": {
"l": 0.56634,
"c": 0.15624,
"h": 323.5
},
"luminance": 0.16364
}Semantic roles & 50–950 ramp
primary
#A151AA
secondary
#9BC097
accent
#CB5C68
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B12
muted
#817C81