#A151BB#A151BB
#A151BB is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.6% C 0.173 H 317.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A151BB |
|---|---|
| RGB | rgb(161, 81, 187) |
| HSL | hsl(285, 44%, 53%) |
| HSV | hsv(285, 57%, 73%) |
| CMYK | cmyk(13.9%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(48.32, 49.83, -42.25) |
| CIE-LCH | lch(48.32, 65.33, 319.71°) |
| OKLab | oklab(57.56% 0.1272 -0.1178) |
| OKLCH | oklch(57.56% 0.173 317.2) |
| XYZ | xyz(26.6087, 17.0507, 48.8936) |
| Luminance | 0.1705 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.77
Purply
#983FB2
ΔE00 4.88
Deep Lavender
#8D5EB7
ΔE00 5.04
Medium Purple
#9E43A2
ΔE00 5.47
Mediumorchid
#BA55D3
ΔE00 5.92
Ugly Purple
#A442A0
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A151BB #6BBB51
analogous
#6C51BB #A151BB #BB51A0
triadic
#A151BB #BBA151 #51BBA1
tetradic
#A151BB #BB6C51 #6BBB51 #51A0BB
square
#A151BB #BB6C51 #6BBB51 #51A0BB
split-complementary
#A151BB #A0BB51 #51BB6C
monochromatic
#592969 #7E3A95 #A151BB #B97DCC #D1A9DD
Accessibility & contrast
On white
4.76
#A151BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#A151BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A151BB
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A151BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A151BB | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386EBE
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#A0627E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a151bb; /* rgb */ color: rgb(161, 81, 187); /* oklch */ color: oklch(57.6% 0.173 317.2);
Tailwind
colors: {
custom: {
50: '#bf86d0',
500: '#a151bb',
950: '#000000',
},
}SCSS
$custom: #a151bb; $custom-light: #bf86d0; $custom-dark: #000000;
JSON
{
"hex": "#a151bb",
"rgb": {
"r": 161,
"g": 81,
"b": 187
},
"hsl": {
"h": 285.283,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.5756,
"c": 0.17337,
"h": 317.2
},
"luminance": 0.1705
}Semantic roles & 50–950 ramp
primary
#A151BB
secondary
#A8CB9D
accent
#D45473
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120B14
muted
#817C82