#A052BC#A052BC
#A052BC is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.6% C 0.172 H 316.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A052BC |
|---|---|
| RGB | rgb(160, 82, 188) |
| HSL | hsl(284, 44%, 53%) |
| HSV | hsv(284, 56%, 74%) |
| CMYK | cmyk(14.9%, 56.4%, 0%, 26.3%) |
| CIE-LAB | lab(48.44, 49.27, -42.66) |
| CIE-LCH | lch(48.44, 65.17, 319.11°) |
| OKLab | oklab(57.63% 0.1247 -0.1191) |
| OKLCH | oklch(57.63% 0.172 316.3) |
| XYZ | xyz(26.5902, 17.1399, 49.4749) |
| Luminance | 0.1714 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.47
Deep Lavender
#8D5EB7
ΔE00 4.76
Purply
#983FB2
ΔE00 5.04
Medium Purple
#9E43A2
ΔE00 5.76
Mediumorchid
#BA55D3
ΔE00 5.89
Ugly Purple
#A442A0
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A052BC #6EBC52
analogous
#6B52BC #A052BC #BC52A3
triadic
#A052BC #BCA052 #52BCA0
tetradic
#A052BC #BC6B52 #6EBC52 #52A3BC
square
#A052BC #BC6B52 #6EBC52 #52A3BC
split-complementary
#A052BC #A3BC52 #52BC6B
monochromatic
#59296A #7E3A97 #A052BC #B87ECD #D0AADE
Accessibility & contrast
On white
4.74
#A052BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#A052BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A052BC
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A052BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A052BC | 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)
#386EBF
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#9F637F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a052bc; /* rgb */ color: rgb(160, 82, 188); /* oklch */ color: oklch(57.6% 0.172 316.3);
Tailwind
colors: {
custom: {
50: '#bf86d0',
500: '#a052bc',
950: '#000000',
},
}SCSS
$custom: #a052bc; $custom-light: #bf86d0; $custom-dark: #000000;
JSON
{
"hex": "#a052bc",
"rgb": {
"r": 160,
"g": 82,
"b": 188
},
"hsl": {
"h": 284.151,
"s": 44.167,
"l": 52.941
},
"oklch": {
"l": 0.57632,
"c": 0.1724,
"h": 316.3
},
"luminance": 0.17139
}Semantic roles & 50–950 ramp
primary
#A052BC
secondary
#AACC9E
accent
#D45476
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120B14
muted
#817C82