#A545B2#A545B2
#A545B2 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.0% C 0.185 H 322.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A545B2 |
|---|---|
| RGB | rgb(165, 69, 178) |
| HSL | hsl(293, 44%, 48%) |
| HSV | hsv(293, 61%, 70%) |
| CMYK | cmyk(7.3%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(46.27, 54.82, -40.21) |
| CIE-LCH | lch(46.27, 67.99, 323.74°) |
| OKLab | oklab(56.02% 0.1469 -0.1117) |
| OKLCH | oklch(56.02% 0.185 322.7) |
| XYZ | xyz(25.6803, 15.4713, 43.7444) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.97
Purply
#983FB2
ΔE00 3.35
Ugly Purple
#A442A0
ΔE00 3.43
Barney
#AC1DB8
ΔE00 5.23
Purpley Pink
#C83CB9
ΔE00 6.48
Darkorchid
#9932CC
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A545B2 #52B245
analogous
#6E45B2 #A545B2 #B24588
triadic
#A545B2 #B2A545 #45B2A5
tetradic
#A545B2 #B26E45 #52B245 #4588B2
square
#A545B2 #B26E45 #52B245 #4588B2
split-complementary
#A545B2 #88B245 #45B26E
monochromatic
#53235A #7C3486 #A545B2 #BC6EC7 #D09AD8
Accessibility & contrast
On white
5.13
#A545B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#A545B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A545B2
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A545B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A545B2 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F66B5
Deuteranopia (green-blind)
#5471AF
Tritanopia (blue-blind)
#A75575
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a545b2; /* rgb */ color: rgb(165, 69, 178); /* oklch */ color: oklch(56.0% 0.185 322.7);
Tailwind
colors: {
custom: {
50: '#c37fc9',
500: '#a545b2',
950: '#000000',
},
}SCSS
$custom: #a545b2; $custom-light: #c37fc9; $custom-dark: #000000;
JSON
{
"hex": "#a545b2",
"rgb": {
"r": 165,
"g": 69,
"b": 178
},
"hsl": {
"h": 292.844,
"s": 44.13,
"l": 48.431
},
"oklch": {
"l": 0.56022,
"c": 0.18455,
"h": 322.7
},
"luminance": 0.1547
}Semantic roles & 50–950 ramp
primary
#A545B2
secondary
#95C48F
accent
#D45463
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82