#A545BB#A545BB
#A545BB is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.193 H 319.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A545BB |
|---|---|
| RGB | rgb(165, 69, 187) |
| HSL | hsl(289, 46%, 50%) |
| HSV | hsv(289, 63%, 73%) |
| CMYK | cmyk(11.8%, 63.1%, 0%, 26.7%) |
| CIE-LAB | lab(46.77, 56.55, -44.69) |
| CIE-LCH | lch(46.77, 72.07, 321.68°) |
| OKLab | oklab(56.54% 0.1472 -0.1248) |
| OKLCH | oklch(56.54% 0.193 319.7) |
| XYZ | xyz(26.6137, 15.8446, 48.6605) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.27
Medium Purple
#9E43A2
ΔE00 4.44
Ugly Purple
#A442A0
ΔE00 5.03
Barney
#AC1DB8
ΔE00 5.23
Darkorchid
#9932CC
ΔE00 5.64
Amethyst
#9B5FC0
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A545BB #5BBB45
analogous
#6A45BB #A545BB #BB4596
triadic
#A545BB #BBA545 #45BBA5
tetradic
#A545BB #BB6A45 #5BBB45 #4596BB
square
#A545BB #BB6A45 #5BBB45 #4596BB
split-complementary
#A545BB #96BB45 #45BB6A
monochromatic
#562462 #7E348F #A545BB #BB72CB #D09FDC
Accessibility & contrast
On white
5.04
#A545BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#A545BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A545BB
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A545BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A545BB | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2568BF
Deuteranopia (green-blind)
#4E72B8
Tritanopia (blue-blind)
#A6597A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a545bb; /* rgb */ color: rgb(165, 69, 187); /* oklch */ color: oklch(56.5% 0.193 319.7);
Tailwind
colors: {
custom: {
50: '#c37fd0',
500: '#a545bb',
950: '#000000',
},
}SCSS
$custom: #a545bb; $custom-light: #c37fd0; $custom-dark: #000000;
JSON
{
"hex": "#a545bb",
"rgb": {
"r": 165,
"g": 69,
"b": 187
},
"hsl": {
"h": 288.814,
"s": 46.457,
"l": 50.196
},
"oklch": {
"l": 0.56543,
"c": 0.19292,
"h": 319.7
},
"luminance": 0.15843
}Semantic roles & 50–950 ramp
primary
#A545BB
secondary
#9DC894
accent
#D6526A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82