#A152B4#A152B4
#A152B4 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.3% C 0.165 H 319.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A152B4 |
|---|---|
| RGB | rgb(161, 82, 180) |
| HSL | hsl(288, 40%, 51%) |
| HSV | hsv(288, 54%, 71%) |
| CMYK | cmyk(10.6%, 54.4%, 0%, 29.4%) |
| CIE-LAB | lab(48.14, 47.89, -38.46) |
| CIE-LCH | lch(48.14, 61.42, 321.24°) |
| OKLab | oklab(57.31% 0.1253 -0.1068) |
| OKLCH | oklch(57.31% 0.165 319.5) |
| XYZ | xyz(25.9524, 16.9080, 45.0677) |
| Luminance | 0.1691 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.21
Medium Purple
#9E43A2
ΔE00 4.67
Purply
#983FB2
ΔE00 5.09
Ugly Purple
#A442A0
ΔE00 5.11
Deep Lavender
#8D5EB7
ΔE00 5.27
Mediumorchid
#BA55D3
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A152B4 #65B452
analogous
#7052B4 #A152B4 #B45296
triadic
#A152B4 #B4A152 #52B4A1
tetradic
#A152B4 #B47052 #65B452 #5296B4
square
#A152B4 #B47052 #65B452 #5296B4
split-complementary
#A152B4 #96B452 #52B470
monochromatic
#572A61 #7D3D8C #A152B4 #B87DC7 #CFA7D9
Accessibility & contrast
On white
4.79
#A152B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#A152B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A152B4
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A152B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A152B4 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6DB7
Deuteranopia (green-blind)
#5975B1
Tritanopia (blue-blind)
#A2607B
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #a152b4; /* rgb */ color: rgb(161, 82, 180); /* oklch */ color: oklch(57.3% 0.165 319.5);
Tailwind
colors: {
custom: {
50: '#bf86cb',
500: '#a152b4',
950: '#000000',
},
}SCSS
$custom: #a152b4; $custom-light: #bf86cb; $custom-dark: #000000;
JSON
{
"hex": "#a152b4",
"rgb": {
"r": 161,
"g": 82,
"b": 180
},
"hsl": {
"h": 288.367,
"s": 39.516,
"l": 51.373
},
"oklch": {
"l": 0.57308,
"c": 0.16464,
"h": 319.5
},
"luminance": 0.16907
}Semantic roles & 50–950 ramp
primary
#A152B4
secondary
#A4C79B
accent
#CF586F
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120B13
muted
#817C82