#A545C3#A545C3
#A545C3 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.0% C 0.200 H 317.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A545C3 |
|---|---|
| RGB | rgb(165, 69, 195) |
| HSL | hsl(286, 51%, 52%) |
| HSV | hsv(286, 65%, 76%) |
| CMYK | cmyk(15.4%, 64.6%, 0%, 23.5%) |
| CIE-LAB | lab(47.23, 58.13, -48.60) |
| CIE-LCH | lch(47.23, 75.77, 320.10°) |
| OKLab | oklab(57.03% 0.1471 -0.1362) |
| OKLCH | oklch(57.03% 0.2 317.2) |
| XYZ | xyz(27.4941, 16.1968, 53.2972) |
| Luminance | 0.1620 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.84
Darkorchid
#9932CC
ΔE00 4.98
Barney
#AC1DB8
ΔE00 5.63
Medium Purple
#9E43A2
ΔE00 5.76
Amethyst
#9B5FC0
ΔE00 5.98
Ugly Purple
#A442A0
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A545C3 #63C345
analogous
#6645C3 #A545C3 #C345A2
triadic
#A545C3 #C3A545 #45C3A5
tetradic
#A545C3 #C36645 #63C345 #45A2C3
square
#A545C3 #C36645 #63C345 #45A2C3
split-complementary
#A545C3 #A2C345 #45C366
monochromatic
#5A236B #813199 #A545C3 #BB73D2 #D2A2E1
Accessibility & contrast
On white
4.95
#A545C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#A545C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A545C3
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A545C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A545C3 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#166AC7
Deuteranopia (green-blind)
#4873C0
Tritanopia (blue-blind)
#A45C7E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a545c3; /* rgb */ color: rgb(165, 69, 195); /* oklch */ color: oklch(57.0% 0.200 317.2);
Tailwind
colors: {
custom: {
50: '#c37fd6',
500: '#a545c3',
950: '#000000',
},
}SCSS
$custom: #a545c3; $custom-light: #c37fd6; $custom-dark: #000000;
JSON
{
"hex": "#a545c3",
"rgb": {
"r": 165,
"g": 69,
"b": 195
},
"hsl": {
"h": 285.714,
"s": 51.22,
"l": 51.765
},
"oklch": {
"l": 0.57025,
"c": 0.20047,
"h": 317.2
},
"luminance": 0.16196
}Semantic roles & 50–950 ramp
primary
#A545C3
secondary
#A3CE96
accent
#DB4D6F
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83