#A545BE#A545BE
#A545BE is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.7% C 0.196 H 318.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A545BE |
|---|---|
| RGB | rgb(165, 69, 190) |
| HSL | hsl(288, 48%, 51%) |
| HSV | hsv(288, 64%, 75%) |
| CMYK | cmyk(13.2%, 63.7%, 0%, 25.5%) |
| CIE-LAB | lab(46.94, 57.14, -46.16) |
| CIE-LCH | lch(46.94, 73.45, 321.06°) |
| OKLab | oklab(56.72% 0.1472 -0.1291) |
| OKLCH | oklch(56.72% 0.196 318.7) |
| XYZ | xyz(26.9382, 15.9745, 50.3696) |
| Luminance | 0.1597 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.43
Medium Purple
#9E43A2
ΔE00 4.94
Barney
#AC1DB8
ΔE00 5.34
Darkorchid
#9932CC
ΔE00 5.36
Ugly Purple
#A442A0
ΔE00 5.55
Amethyst
#9B5FC0
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A545BE #5EBE45
analogous
#6845BE #A545BE #BE459A
triadic
#A545BE #BEA545 #45BEA5
tetradic
#A545BE #BE6845 #5EBE45 #459ABE
square
#A545BE #BE6845 #5EBE45 #459ABE
split-complementary
#A545BE #9ABE45 #45BE68
monochromatic
#582365 #7F3393 #A545BE #BB72CE #D1A0DE
Accessibility & contrast
On white
5.01
#A545BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#A545BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A545BE
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A545BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A545BE | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2069C2
Deuteranopia (green-blind)
#4C72BB
Tritanopia (blue-blind)
#A55A7B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a545be; /* rgb */ color: rgb(165, 69, 190); /* oklch */ color: oklch(56.7% 0.196 318.7);
Tailwind
colors: {
custom: {
50: '#c37fd2',
500: '#a545be',
950: '#000000',
},
}SCSS
$custom: #a545be; $custom-light: #c37fd2; $custom-dark: #000000;
JSON
{
"hex": "#a545be",
"rgb": {
"r": 165,
"g": 69,
"b": 190
},
"hsl": {
"h": 287.603,
"s": 48.207,
"l": 50.784
},
"oklch": {
"l": 0.56721,
"c": 0.19574,
"h": 318.7
},
"luminance": 0.15973
}Semantic roles & 50–950 ramp
primary
#A545BE
secondary
#A0CA95
accent
#D8506C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82