#A552B2#A552B2
#A552B2 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.7% C 0.165 H 322.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A552B2 |
|---|---|
| RGB | rgb(165, 82, 178) |
| HSL | hsl(292, 38%, 51%) |
| HSV | hsv(292, 54%, 70%) |
| CMYK | cmyk(7.3%, 53.9%, 0%, 30.2%) |
| CIE-LAB | lab(48.57, 48.60, -36.58) |
| CIE-LCH | lch(48.57, 60.82, 323.03°) |
| OKLab | oklab(57.7% 0.1299 -0.1013) |
| OKLCH | oklch(57.7% 0.165 322.1) |
| XYZ | xyz(26.5694, 17.2495, 44.0408) |
| Luminance | 0.1725 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 4.62
Ugly Purple
#A442A0
ΔE00 4.75
Amethyst
#9B5FC0
ΔE00 4.79
Purply
#983FB2
ΔE00 5.72
Deep Lavender
#8D5EB7
ΔE00 6.10
Mediumorchid
#BA55D3
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A552B2 #5FB252
analogous
#7552B2 #A552B2 #B2528F
triadic
#A552B2 #B2A552 #52B2A5
tetradic
#A552B2 #B27552 #5FB252 #528FB2
square
#A552B2 #B27552 #5FB252 #528FB2
split-complementary
#A552B2 #8FB252 #52B275
monochromatic
#582A5F #7F3D8A #A552B2 #BB7CC5 #D1A7D8
Accessibility & contrast
On white
4.72
#A552B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#A552B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A552B2
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A552B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A552B2 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426DB5
Deuteranopia (green-blind)
#5D77AF
Tritanopia (blue-blind)
#A75F7A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a552b2; /* rgb */ color: rgb(165, 82, 178); /* oklch */ color: oklch(57.7% 0.165 322.1);
Tailwind
colors: {
custom: {
50: '#c286c9',
500: '#a552b2',
950: '#000000',
},
}SCSS
$custom: #a552b2; $custom-light: #c286c9; $custom-dark: #000000;
JSON
{
"hex": "#a552b2",
"rgb": {
"r": 165,
"g": 82,
"b": 178
},
"hsl": {
"h": 291.875,
"s": 38.4,
"l": 50.98
},
"oklch": {
"l": 0.57702,
"c": 0.16472,
"h": 322.1
},
"luminance": 0.17248
}Semantic roles & 50–950 ramp
primary
#A552B2
secondary
#A0C59B
accent
#CE5969
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82