#A545BF#A545BF
#A545BF is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.8% C 0.197 H 318.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A545BF |
|---|---|
| RGB | rgb(165, 69, 191) |
| HSL | hsl(287, 49%, 51%) |
| HSV | hsv(287, 64%, 75%) |
| CMYK | cmyk(13.6%, 63.9%, 0%, 25.1%) |
| CIE-LAB | lab(47.00, 57.33, -46.65) |
| CIE-LCH | lch(47.00, 73.91, 320.87°) |
| OKLab | oklab(56.78% 0.1472 -0.1305) |
| OKLCH | oklch(56.78% 0.197 318.4) |
| XYZ | xyz(27.0479, 16.0183, 50.9472) |
| Luminance | 0.1602 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.50
Medium Purple
#9E43A2
ΔE00 5.11
Darkorchid
#9932CC
ΔE00 5.27
Barney
#AC1DB8
ΔE00 5.39
Ugly Purple
#A442A0
ΔE00 5.72
Amethyst
#9B5FC0
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A545BF #5FBF45
analogous
#6845BF #A545BF #BF459C
triadic
#A545BF #BFA545 #45BFA5
tetradic
#A545BF #BF6845 #5FBF45 #459CBF
square
#A545BF #BF6845 #5FBF45 #459CBF
split-complementary
#A545BF #9CBF45 #45BF68
monochromatic
#582366 #7F3394 #A545BF #BB73CF #D1A0DE
Accessibility & contrast
On white
5.00
#A545BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#A545BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A545BF
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A545BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A545BF | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E69C3
Deuteranopia (green-blind)
#4B73BC
Tritanopia (blue-blind)
#A55A7C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a545bf; /* rgb */ color: rgb(165, 69, 191); /* oklch */ color: oklch(56.8% 0.197 318.4);
Tailwind
colors: {
custom: {
50: '#c37fd3',
500: '#a545bf',
950: '#000000',
},
}SCSS
$custom: #a545bf; $custom-light: #c37fd3; $custom-dark: #000000;
JSON
{
"hex": "#a545bf",
"rgb": {
"r": 165,
"g": 69,
"b": 191
},
"hsl": {
"h": 287.213,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.56782,
"c": 0.19668,
"h": 318.4
},
"luminance": 0.16017
}Semantic roles & 50–950 ramp
primary
#A545BF
secondary
#A0CB95
accent
#D84F6D
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83