#A54BBB#A54BBB
#A54BBB is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.3% C 0.184 H 319.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A54BBB |
|---|---|
| RGB | rgb(165, 75, 187) |
| HSL | hsl(288, 45%, 51%) |
| HSV | hsv(288, 60%, 73%) |
| CMYK | cmyk(11.8%, 59.9%, 0%, 26.7%) |
| CIE-LAB | lab(47.78, 53.78, -43.08) |
| CIE-LCH | lch(47.78, 68.91, 321.30°) |
| OKLab | oklab(57.27% 0.1398 -0.1201) |
| OKLCH | oklch(57.27% 0.184 319.3) |
| XYZ | xyz(27.0016, 16.6205, 48.7898) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.21
Medium Purple
#9E43A2
ΔE00 4.82
Amethyst
#9B5FC0
ΔE00 5.10
Ugly Purple
#A442A0
ΔE00 5.30
Mediumorchid
#BA55D3
ΔE00 6.07
Deep Lavender
#8D5EB7
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A54BBB #61BB4B
analogous
#6D4BBB #A54BBB #BB4B99
triadic
#A54BBB #BBA54B #4BBBA5
tetradic
#A54BBB #BB6D4B #61BB4B #4B99BB
square
#A54BBB #BB6D4B #61BB4B #4B99BB
split-complementary
#A54BBB #99BB4B #4BBB6D
monochromatic
#592665 #803792 #A54BBB #BB77CC #D1A4DD
Accessibility & contrast
On white
4.86
#A54BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#A54BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A54BBB
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A54BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A54BBB | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#306BBE
Deuteranopia (green-blind)
#5375B8
Tritanopia (blue-blind)
#A55D7C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #a54bbb; /* rgb */ color: rgb(165, 75, 187); /* oklch */ color: oklch(57.3% 0.184 319.3);
Tailwind
colors: {
custom: {
50: '#c282d0',
500: '#a54bbb',
950: '#000000',
},
}SCSS
$custom: #a54bbb; $custom-light: #c282d0; $custom-dark: #000000;
JSON
{
"hex": "#a54bbb",
"rgb": {
"r": 165,
"g": 75,
"b": 187
},
"hsl": {
"h": 288.214,
"s": 45.161,
"l": 51.373
},
"oklch": {
"l": 0.57274,
"c": 0.18431,
"h": 319.3
},
"luminance": 0.16619
}Semantic roles & 50–950 ramp
primary
#A54BBB
secondary
#A2CA98
accent
#D5536C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82