#A545C0#A545C0
#A545C0 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.8% C 0.198 H 318.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A545C0 |
|---|---|
| RGB | rgb(165, 69, 192) |
| HSL | hsl(287, 49%, 51%) |
| HSV | hsv(287, 64%, 75%) |
| CMYK | cmyk(14.1%, 64.1%, 0%, 24.7%) |
| CIE-LAB | lab(47.06, 57.53, -47.14) |
| CIE-LCH | lch(47.06, 74.38, 320.67°) |
| OKLab | oklab(56.84% 0.1472 -0.1319) |
| OKLCH | oklch(56.84% 0.198 318.1) |
| XYZ | xyz(27.1583, 16.0625, 51.5288) |
| Luminance | 0.1606 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.57
Darkorchid
#9932CC
ΔE00 5.19
Medium Purple
#9E43A2
ΔE00 5.27
Barney
#AC1DB8
ΔE00 5.44
Ugly Purple
#A442A0
ΔE00 5.89
Amethyst
#9B5FC0
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A545C0 #60C045
analogous
#6745C0 #A545C0 #C0459D
triadic
#A545C0 #C0A545 #45C0A5
tetradic
#A545C0 #C06745 #60C045 #459DC0
square
#A545C0 #C06745 #60C045 #459DC0
split-complementary
#A545C0 #9DC045 #45C067
monochromatic
#592368 #803395 #A545C0 #BB73CF #D1A0DF
Accessibility & contrast
On white
4.99
#A545C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#A545C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A545C0
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A545C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A545C0 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D69C4
Deuteranopia (green-blind)
#4A73BD
Tritanopia (blue-blind)
#A45B7C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a545c0; /* rgb */ color: rgb(165, 69, 192); /* oklch */ color: oklch(56.8% 0.198 318.1);
Tailwind
colors: {
custom: {
50: '#c37fd3',
500: '#a545c0',
950: '#000000',
},
}SCSS
$custom: #a545c0; $custom-light: #c37fd3; $custom-dark: #000000;
JSON
{
"hex": "#a545c0",
"rgb": {
"r": 165,
"g": 69,
"b": 192
},
"hsl": {
"h": 286.829,
"s": 49.398,
"l": 51.176
},
"oklch": {
"l": 0.56842,
"c": 0.19763,
"h": 318.1
},
"luminance": 0.16061
}Semantic roles & 50–950 ramp
primary
#A545C0
secondary
#A1CC95
accent
#D94F6D
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83