#A052BA#A052BA
#A052BA is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.5% C 0.170 H 317.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A052BA |
|---|---|
| RGB | rgb(160, 82, 186) |
| HSL | hsl(285, 43%, 53%) |
| HSV | hsv(285, 56%, 73%) |
| CMYK | cmyk(14%, 55.9%, 0%, 27.1%) |
| CIE-LAB | lab(48.33, 48.85, -41.67) |
| CIE-LCH | lch(48.33, 64.21, 319.54°) |
| OKLab | oklab(57.52% 0.1245 -0.1162) |
| OKLCH | oklch(57.52% 0.17 317) |
| XYZ | xyz(26.3761, 17.0543, 48.3473) |
| Luminance | 0.1705 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.59
Deep Lavender
#8D5EB7
ΔE00 4.80
Purply
#983FB2
ΔE00 4.98
Medium Purple
#9E43A2
ΔE00 5.47
Mediumorchid
#BA55D3
ΔE00 6.05
Ugly Purple
#A442A0
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A052BA #6CBA52
analogous
#6C52BA #A052BA #BA52A0
triadic
#A052BA #BAA052 #52BAA0
tetradic
#A052BA #BA6C52 #6CBA52 #52A0BA
square
#A052BA #BA6C52 #6CBA52 #52A0BA
split-complementary
#A052BA #A0BA52 #52BA6C
monochromatic
#582A68 #7E3B94 #A052BA #B87ECB #D0AADD
Accessibility & contrast
On white
4.76
#A052BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#A052BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A052BA
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A052BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A052BA | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#5575B7
Tritanopia (blue-blind)
#9F627E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a052ba; /* rgb */ color: rgb(160, 82, 186); /* oklch */ color: oklch(57.5% 0.170 317.0);
Tailwind
colors: {
custom: {
50: '#bf86cf',
500: '#a052ba',
950: '#000000',
},
}SCSS
$custom: #a052ba; $custom-light: #bf86cf; $custom-dark: #000000;
JSON
{
"hex": "#a052ba",
"rgb": {
"r": 160,
"g": 82,
"b": 186
},
"hsl": {
"h": 285,
"s": 42.975,
"l": 52.549
},
"oklch": {
"l": 0.57518,
"c": 0.17032,
"h": 317
},
"luminance": 0.17053
}Semantic roles & 50–950 ramp
primary
#A052BA
secondary
#A9CA9D
accent
#D35574
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120B14
muted
#817C82