#A545B8#A545B8
#A545B8 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.190 H 320.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A545B8 |
|---|---|
| RGB | rgb(165, 69, 184) |
| HSL | hsl(290, 45%, 50%) |
| HSV | hsv(290, 63%, 72%) |
| CMYK | cmyk(10.3%, 62.5%, 0%, 27.8%) |
| CIE-LAB | lab(46.60, 55.97, -43.20) |
| CIE-LCH | lch(46.60, 70.70, 322.33°) |
| OKLab | oklab(56.37% 0.1471 -0.1204) |
| OKLCH | oklch(56.37% 0.19 320.7) |
| XYZ | xyz(26.2959, 15.7175, 46.9868) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.20
Medium Purple
#9E43A2
ΔE00 3.95
Ugly Purple
#A442A0
ΔE00 4.50
Barney
#AC1DB8
ΔE00 5.17
Darkorchid
#9932CC
ΔE00 5.98
Amethyst
#9B5FC0
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A545B8 #58B845
analogous
#6C45B8 #A545B8 #B84592
triadic
#A545B8 #B8A545 #45B8A5
tetradic
#A545B8 #B86C45 #58B845 #4592B8
square
#A545B8 #B86C45 #58B845 #4592B8
split-complementary
#A545B8 #92B845 #45B86C
monochromatic
#55245F #7D348B #A545B8 #BB71CA #D09DDA
Accessibility & contrast
On white
5.07
#A545B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#A545B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A545B8
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A545B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A545B8 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2968BC
Deuteranopia (green-blind)
#5072B5
Tritanopia (blue-blind)
#A65878
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a545b8; /* rgb */ color: rgb(165, 69, 184); /* oklch */ color: oklch(56.4% 0.190 320.7);
Tailwind
colors: {
custom: {
50: '#c37fce',
500: '#a545b8',
950: '#000000',
},
}SCSS
$custom: #a545b8; $custom-light: #c37fce; $custom-dark: #000000;
JSON
{
"hex": "#a545b8",
"rgb": {
"r": 165,
"g": 69,
"b": 184
},
"hsl": {
"h": 290.087,
"s": 45.455,
"l": 49.608
},
"oklch": {
"l": 0.56366,
"c": 0.19011,
"h": 320.7
},
"luminance": 0.15716
}Semantic roles & 50–950 ramp
primary
#A545B8
secondary
#9BC792
accent
#D55368
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A13
muted
#827C82