#A545B3#A545B3
#A545B3 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.1% C 0.185 H 322.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A545B3 |
|---|---|
| RGB | rgb(165, 69, 179) |
| HSL | hsl(292, 44%, 49%) |
| HSV | hsv(292, 61%, 70%) |
| CMYK | cmyk(7.8%, 61.5%, 0%, 29.8%) |
| CIE-LAB | lab(46.33, 55.01, -40.71) |
| CIE-LCH | lch(46.33, 68.44, 323.50°) |
| OKLab | oklab(56.08% 0.1469 -0.1132) |
| OKLCH | oklch(56.08% 0.185 322.4) |
| XYZ | xyz(25.7810, 15.5116, 44.2751) |
| Luminance | 0.1551 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.13
Purply
#983FB2
ΔE00 3.29
Ugly Purple
#A442A0
ΔE00 3.61
Barney
#AC1DB8
ΔE00 5.20
Purpley Pink
#C83CB9
ΔE00 6.50
Darkorchid
#9932CC
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A545B3 #53B345
analogous
#6E45B3 #A545B3 #B3458A
triadic
#A545B3 #B3A545 #45B3A5
tetradic
#A545B3 #B36E45 #53B345 #458AB3
square
#A545B3 #B36E45 #53B345 #458AB3
split-complementary
#A545B3 #8AB345 #45B36E
monochromatic
#54235B #7C3487 #A545B3 #BC6EC7 #D09AD8
Accessibility & contrast
On white
5.12
#A545B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#A545B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A545B3
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A545B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A545B3 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E67B6
Deuteranopia (green-blind)
#5372B0
Tritanopia (blue-blind)
#A75676
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a545b3; /* rgb */ color: rgb(165, 69, 179); /* oklch */ color: oklch(56.1% 0.185 322.4);
Tailwind
colors: {
custom: {
50: '#c37fca',
500: '#a545b3',
950: '#000000',
},
}SCSS
$custom: #a545b3; $custom-light: #c37fca; $custom-dark: #000000;
JSON
{
"hex": "#a545b3",
"rgb": {
"r": 165,
"g": 69,
"b": 179
},
"hsl": {
"h": 292.364,
"s": 44.355,
"l": 48.627
},
"oklch": {
"l": 0.56078,
"c": 0.18547,
"h": 322.4
},
"luminance": 0.1551
}Semantic roles & 50–950 ramp
primary
#A545B3
secondary
#96C48F
accent
#D45464
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82