#A545BA#A545BA
#A545BA is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.192 H 320.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A545BA |
|---|---|
| RGB | rgb(165, 69, 186) |
| HSL | hsl(289, 46%, 50%) |
| HSV | hsv(289, 63%, 73%) |
| CMYK | cmyk(11.3%, 62.9%, 0%, 27.1%) |
| CIE-LAB | lab(46.71, 56.35, -44.19) |
| CIE-LCH | lch(46.71, 71.61, 321.90°) |
| OKLab | oklab(56.48% 0.1471 -0.1233) |
| OKLCH | oklch(56.48% 0.192 320) |
| XYZ | xyz(26.5070, 15.8020, 48.0987) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.24
Medium Purple
#9E43A2
ΔE00 4.28
Ugly Purple
#A442A0
ΔE00 4.85
Barney
#AC1DB8
ΔE00 5.20
Darkorchid
#9932CC
ΔE00 5.75
Amethyst
#9B5FC0
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A545BA #5ABA45
analogous
#6B45BA #A545BA #BA4594
triadic
#A545BA #BAA545 #45BAA5
tetradic
#A545BA #BA6B45 #5ABA45 #4594BA
square
#A545BA #BA6B45 #5ABA45 #4594BA
split-complementary
#A545BA #94BA45 #45BA6B
monochromatic
#562461 #7D348D #A545BA #BB72CB #D09EDB
Accessibility & contrast
On white
5.05
#A545BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#A545BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A545BA
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A545BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A545BA | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2668BE
Deuteranopia (green-blind)
#4F72B7
Tritanopia (blue-blind)
#A65879
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a545ba; /* rgb */ color: rgb(165, 69, 186); /* oklch */ color: oklch(56.5% 0.192 320.0);
Tailwind
colors: {
custom: {
50: '#c37fcf',
500: '#a545ba',
950: '#000000',
},
}SCSS
$custom: #a545ba; $custom-light: #c37fcf; $custom-dark: #000000;
JSON
{
"hex": "#a545ba",
"rgb": {
"r": 165,
"g": 69,
"b": 186
},
"hsl": {
"h": 289.231,
"s": 45.882,
"l": 50
},
"oklch": {
"l": 0.56484,
"c": 0.19198,
"h": 320
},
"luminance": 0.15801
}Semantic roles & 50–950 ramp
primary
#A545BA
secondary
#9DC893
accent
#D6526A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82