#A546BA#A546BA
#A546BA is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.6% C 0.191 H 320.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A546BA |
|---|---|
| RGB | rgb(165, 70, 186) |
| HSL | hsl(289, 46%, 50%) |
| HSV | hsv(289, 62%, 73%) |
| CMYK | cmyk(11.3%, 62.4%, 0%, 27.1%) |
| CIE-LAB | lab(46.88, 55.90, -43.93) |
| CIE-LCH | lch(46.88, 71.10, 321.84°) |
| OKLab | oklab(56.6% 0.1459 -0.1226) |
| OKLCH | oklch(56.6% 0.191 320) |
| XYZ | xyz(26.5690, 15.9260, 48.1194) |
| Luminance | 0.1593 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.38
Medium Purple
#9E43A2
ΔE00 4.32
Ugly Purple
#A442A0
ΔE00 4.88
Barney
#AC1DB8
ΔE00 5.40
Darkorchid
#9932CC
ΔE00 5.90
Amethyst
#9B5FC0
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A546BA #5BBA46
analogous
#6B46BA #A546BA #BA4695
triadic
#A546BA #BAA546 #46BAA5
tetradic
#A546BA #BA6B46 #5BBA46 #4695BA
square
#A546BA #BA6B46 #5BBA46 #4695BA
split-complementary
#A546BA #95BA46 #46BA6B
monochromatic
#562461 #7E358E #A546BA #BB73CB #D09FDB
Accessibility & contrast
On white
5.02
#A546BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#A546BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A546BA
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A546BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A546BA | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#4F73B7
Tritanopia (blue-blind)
#A6597A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a546ba; /* rgb */ color: rgb(165, 70, 186); /* oklch */ color: oklch(56.6% 0.191 320.0);
Tailwind
colors: {
custom: {
50: '#c37fcf',
500: '#a546ba',
950: '#000000',
},
}SCSS
$custom: #a546ba; $custom-light: #c37fcf; $custom-dark: #000000;
JSON
{
"hex": "#a546ba",
"rgb": {
"r": 165,
"g": 70,
"b": 186
},
"hsl": {
"h": 289.138,
"s": 45.669,
"l": 50.196
},
"oklch": {
"l": 0.56602,
"c": 0.19058,
"h": 320
},
"luminance": 0.15925
}Semantic roles & 50–950 ramp
primary
#A546BA
secondary
#9DC894
accent
#D5526A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82