#A541B5#A541B5
#A541B5 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.7% C 0.193 H 321.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A541B5 |
|---|---|
| RGB | rgb(165, 65, 181) |
| HSL | hsl(292, 47%, 48%) |
| HSV | hsv(292, 64%, 71%) |
| CMYK | cmyk(8.8%, 64.1%, 0%, 29%) |
| CIE-LAB | lab(45.79, 57.16, -42.73) |
| CIE-LCH | lch(45.79, 71.37, 323.22°) |
| OKLab | oklab(55.73% 0.1518 -0.119) |
| OKLCH | oklch(55.73% 0.193 321.9) |
| XYZ | xyz(25.7469, 15.1175, 45.2689) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.75
Medium Purple
#9E43A2
ΔE00 3.38
Ugly Purple
#A442A0
ΔE00 3.96
Barney
#AC1DB8
ΔE00 4.40
Darkorchid
#9932CC
ΔE00 5.84
Purpley Pink
#C83CB9
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A541B5 #51B541
analogous
#6B41B5 #A541B5 #B5418B
triadic
#A541B5 #B5A541 #41B5A5
tetradic
#A541B5 #B56B41 #51B541 #418BB5
square
#A541B5 #B56B41 #51B541 #418BB5
split-complementary
#A541B5 #8BB541 #41B56B
monochromatic
#53215B #7C3188 #A541B5 #BC6AC9 #D097DA
Accessibility & contrast
On white
5.22
#A541B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#A541B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A541B5
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A541B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A541B5 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2565B8
Deuteranopia (green-blind)
#4F70B2
Tritanopia (blue-blind)
#A75475
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a541b5; /* rgb */ color: rgb(165, 65, 181); /* oklch */ color: oklch(55.7% 0.193 321.9);
Tailwind
colors: {
custom: {
50: '#c37dcc',
500: '#a541b5',
950: '#000000',
},
}SCSS
$custom: #a541b5; $custom-light: #c37dcc; $custom-dark: #000000;
JSON
{
"hex": "#a541b5",
"rgb": {
"r": 165,
"g": 65,
"b": 181
},
"hsl": {
"h": 291.724,
"s": 47.154,
"l": 48.235
},
"oklch": {
"l": 0.55728,
"c": 0.19291,
"h": 321.9
},
"luminance": 0.15116
}Semantic roles & 50–950 ramp
primary
#A541B5
secondary
#94C58C
accent
#D75163
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82