#A152B2#A152B2
#A152B2 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.2% C 0.163 H 320.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A152B2 |
|---|---|
| RGB | rgb(161, 82, 178) |
| HSL | hsl(289, 38%, 51%) |
| HSV | hsv(289, 54%, 70%) |
| CMYK | cmyk(9.6%, 53.9%, 0%, 30.2%) |
| CIE-LAB | lab(48.04, 47.49, -37.45) |
| CIE-LCH | lch(48.04, 60.48, 321.74°) |
| OKLab | oklab(57.2% 0.1251 -0.1039) |
| OKLCH | oklch(57.2% 0.163 320.3) |
| XYZ | xyz(25.7501, 16.8271, 44.0024) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 4.44
Amethyst
#9B5FC0
ΔE00 4.46
Ugly Purple
#A442A0
ΔE00 4.83
Purply
#983FB2
ΔE00 5.15
Deep Lavender
#8D5EB7
ΔE00 5.44
Mediumorchid
#BA55D3
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A152B2 #63B252
analogous
#7152B2 #A152B2 #B25293
triadic
#A152B2 #B2A152 #52B2A1
tetradic
#A152B2 #B27152 #63B252 #5293B2
square
#A152B2 #B27152 #63B252 #5293B2
split-complementary
#A152B2 #93B252 #52B271
monochromatic
#562A5F #7C3D8A #A152B2 #B87CC5 #CFA7D8
Accessibility & contrast
On white
4.81
#A152B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#A152B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A152B2
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A152B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A152B2 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#5A75AF
Tritanopia (blue-blind)
#A2607A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #a152b2; /* rgb */ color: rgb(161, 82, 178); /* oklch */ color: oklch(57.2% 0.163 320.3);
Tailwind
colors: {
custom: {
50: '#bf86c9',
500: '#a152b2',
950: '#000000',
},
}SCSS
$custom: #a152b2; $custom-light: #bf86c9; $custom-dark: #000000;
JSON
{
"hex": "#a152b2",
"rgb": {
"r": 161,
"g": 82,
"b": 178
},
"hsl": {
"h": 289.375,
"s": 38.4,
"l": 50.98
},
"oklch": {
"l": 0.57199,
"c": 0.1626,
"h": 320.3
},
"luminance": 0.16826
}Semantic roles & 50–950 ramp
primary
#A152B2
secondary
#A2C59B
accent
#CE596E
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120B13
muted
#817C82