#A152BB#A152BB
#A152BB is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.7% C 0.172 H 317.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A152BB |
|---|---|
| RGB | rgb(161, 82, 187) |
| HSL | hsl(285, 44%, 53%) |
| HSV | hsv(285, 56%, 73%) |
| CMYK | cmyk(13.9%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(48.51, 49.33, -41.95) |
| CIE-LCH | lch(48.51, 64.75, 319.62°) |
| OKLab | oklab(57.7% 0.1258 -0.117) |
| OKLCH | oklch(57.7% 0.172 317.1) |
| XYZ | xyz(26.6836, 17.2005, 48.9185) |
| Luminance | 0.1720 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.57
Deep Lavender
#8D5EB7
ΔE00 4.92
Purply
#983FB2
ΔE00 5.11
Medium Purple
#9E43A2
ΔE00 5.61
Mediumorchid
#BA55D3
ΔE00 5.82
Ugly Purple
#A442A0
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A152BB #6CBB52
analogous
#6D52BB #A152BB #BB52A0
triadic
#A152BB #BBA152 #52BBA1
tetradic
#A152BB #BB6D52 #6CBB52 #52A0BB
square
#A152BB #BB6D52 #6CBB52 #52A0BB
split-complementary
#A152BB #A0BB52 #52BB6D
monochromatic
#592969 #7F3B95 #A152BB #B97ECC #D1AADE
Accessibility & contrast
On white
4.73
#A152BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#A152BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A152BB
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A152BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A152BB | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396EBE
Deuteranopia (green-blind)
#5576B8
Tritanopia (blue-blind)
#A0637F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a152bb; /* rgb */ color: rgb(161, 82, 187); /* oklch */ color: oklch(57.7% 0.172 317.1);
Tailwind
colors: {
custom: {
50: '#bf86d0',
500: '#a152bb',
950: '#000000',
},
}SCSS
$custom: #a152bb; $custom-light: #bf86d0; $custom-dark: #000000;
JSON
{
"hex": "#a152bb",
"rgb": {
"r": 161,
"g": 82,
"b": 187
},
"hsl": {
"h": 285.143,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.57697,
"c": 0.17182,
"h": 317.1
},
"luminance": 0.172
}Semantic roles & 50–950 ramp
primary
#A152BB
secondary
#A9CB9E
accent
#D35474
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120B14
muted
#817C82