#A546AA#A546AA
#A546AA is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.7% C 0.176 H 325.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A546AA |
|---|---|
| RGB | rgb(165, 70, 170) |
| HSL | hsl(297, 42%, 47%) |
| HSV | hsv(297, 59%, 67%) |
| CMYK | cmyk(2.9%, 58.8%, 0%, 33.3%) |
| CIE-LAB | lab(46.02, 52.87, -35.90) |
| CIE-LCH | lch(46.02, 63.91, 325.82°) |
| OKLab | oklab(55.7% 0.1451 -0.0992) |
| OKLCH | oklch(55.7% 0.176 325.6) |
| XYZ | xyz(24.9624, 15.2834, 39.6576) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.96
Ugly Purple
#A442A0
ΔE00 2.02
Purply
#983FB2
ΔE00 4.22
Barney
#AC1DB8
ΔE00 5.88
Purpley Pink
#C83CB9
ΔE00 6.40
Warm Purple
#952E8F
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A546AA #4BAA46
analogous
#7346AA #A546AA #AA467D
triadic
#A546AA #AAA546 #46AAA5
tetradic
#A546AA #AA7346 #4BAA46 #467DAA
square
#A546AA #AA7346 #4BAA46 #467DAA
split-complementary
#A546AA #7DAA46 #46AA73
monochromatic
#512253 #7B347F #A546AA #BE6BC2 #D196D4
Accessibility & contrast
On white
5.18
#A546AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#A546AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A546AA
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A546AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A546AA | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#A95371
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a546aa; /* rgb */ color: rgb(165, 70, 170); /* oklch */ color: oklch(55.7% 0.176 325.6);
Tailwind
colors: {
custom: {
50: '#c27fc3',
500: '#a546aa',
950: '#000000',
},
}SCSS
$custom: #a546aa; $custom-light: #c27fc3; $custom-dark: #000000;
JSON
{
"hex": "#a546aa",
"rgb": {
"r": 165,
"g": 70,
"b": 170
},
"hsl": {
"h": 297,
"s": 41.667,
"l": 47.059
},
"oklch": {
"l": 0.55701,
"c": 0.17578,
"h": 325.6
},
"luminance": 0.15282
}Semantic roles & 50–950 ramp
primary
#A546AA
secondary
#8FC08C
accent
#D1565C
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A12
muted
#827C81