#A152BA#A152BA
#A152BA is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.6% C 0.171 H 317.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A152BA |
|---|---|
| RGB | rgb(161, 82, 186) |
| HSL | hsl(286, 43%, 53%) |
| HSV | hsv(286, 56%, 73%) |
| CMYK | cmyk(13.4%, 55.9%, 0%, 27.1%) |
| CIE-LAB | lab(48.46, 49.12, -41.46) |
| CIE-LCH | lch(48.46, 64.28, 319.84°) |
| OKLab | oklab(57.64% 0.1258 -0.1155) |
| OKLCH | oklch(57.64% 0.171 317.4) |
| XYZ | xyz(26.5769, 17.1578, 48.3567) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.64
Deep Lavender
#8D5EB7
ΔE00 4.95
Purply
#983FB2
ΔE00 5.08
Medium Purple
#9E43A2
ΔE00 5.47
Mediumorchid
#BA55D3
ΔE00 5.90
Ugly Purple
#A442A0
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A152BA #6BBA52
analogous
#6D52BA #A152BA #BA529F
triadic
#A152BA #BAA152 #52BAA1
tetradic
#A152BA #BA6D52 #6BBA52 #529FBA
square
#A152BA #BA6D52 #6BBA52 #529FBA
split-complementary
#A152BA #9FBA52 #52BA6D
monochromatic
#592A68 #7E3B94 #A152BA #B97ECB #D1AADD
Accessibility & contrast
On white
4.74
#A152BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#A152BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A152BA
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A152BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A152BA | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#5576B7
Tritanopia (blue-blind)
#A0627E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a152ba; /* rgb */ color: rgb(161, 82, 186); /* oklch */ color: oklch(57.6% 0.171 317.4);
Tailwind
colors: {
custom: {
50: '#bf86cf',
500: '#a152ba',
950: '#000000',
},
}SCSS
$custom: #a152ba; $custom-light: #bf86cf; $custom-dark: #000000;
JSON
{
"hex": "#a152ba",
"rgb": {
"r": 161,
"g": 82,
"b": 186
},
"hsl": {
"h": 285.577,
"s": 42.975,
"l": 52.549
},
"oklch": {
"l": 0.57641,
"c": 0.17079,
"h": 317.4
},
"luminance": 0.17157
}Semantic roles & 50–950 ramp
primary
#A152BA
secondary
#A8CA9D
accent
#D35573
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120B14
muted
#817C82