#A051BB#A051BB
#A051BB is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.4% C 0.173 H 316.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A051BB |
|---|---|
| RGB | rgb(160, 81, 187) |
| HSL | hsl(285, 44%, 53%) |
| HSV | hsv(285, 57%, 73%) |
| CMYK | cmyk(14.4%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(48.19, 49.57, -42.47) |
| CIE-LCH | lch(48.19, 65.27, 319.41°) |
| OKLab | oklab(57.44% 0.1259 -0.1185) |
| OKLCH | oklch(57.44% 0.173 316.7) |
| XYZ | xyz(26.4080, 16.9472, 48.8841) |
| Luminance | 0.1695 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.74
Purply
#983FB2
ΔE00 4.78
Deep Lavender
#8D5EB7
ΔE00 4.91
Medium Purple
#9E43A2
ΔE00 5.48
Mediumorchid
#BA55D3
ΔE00 6.07
Ugly Purple
#A442A0
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A051BB #6CBB51
analogous
#6B51BB #A051BB #BB51A1
triadic
#A051BB #BBA051 #51BBA0
tetradic
#A051BB #BB6B51 #6CBB51 #51A1BB
square
#A051BB #BB6B51 #6CBB51 #51A1BB
split-complementary
#A051BB #A1BB51 #51BB6B
monochromatic
#582969 #7E3A95 #A051BB #B87DCC #D0A9DD
Accessibility & contrast
On white
4.78
#A051BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#A051BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A051BB
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A051BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A051BB | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376DBE
Deuteranopia (green-blind)
#5375B8
Tritanopia (blue-blind)
#9F627E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #a051bb; /* rgb */ color: rgb(160, 81, 187); /* oklch */ color: oklch(57.4% 0.173 316.7);
Tailwind
colors: {
custom: {
50: '#bf85d0',
500: '#a051bb',
950: '#000000',
},
}SCSS
$custom: #a051bb; $custom-light: #bf85d0; $custom-dark: #000000;
JSON
{
"hex": "#a051bb",
"rgb": {
"r": 160,
"g": 81,
"b": 187
},
"hsl": {
"h": 284.717,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.57437,
"c": 0.17293,
"h": 316.7
},
"luminance": 0.16946
}Semantic roles & 50–950 ramp
primary
#A051BB
secondary
#A9CB9D
accent
#D45475
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120B14
muted
#817C82