#A541B4#A541B4
#A541B4 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.7% C 0.192 H 322.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A541B4 |
|---|---|
| RGB | rgb(165, 65, 180) |
| HSL | hsl(292, 47%, 48%) |
| HSV | hsv(292, 64%, 71%) |
| CMYK | cmyk(8.3%, 63.9%, 0%, 29.4%) |
| CIE-LAB | lab(45.74, 56.97, -42.23) |
| CIE-LCH | lch(45.74, 70.92, 323.45°) |
| OKLab | oklab(55.67% 0.1518 -0.1176) |
| OKLCH | oklch(55.67% 0.192 322.2) |
| XYZ | xyz(25.6447, 15.0766, 44.7304) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.78
Medium Purple
#9E43A2
ΔE00 3.21
Ugly Purple
#A442A0
ΔE00 3.78
Barney
#AC1DB8
ΔE00 4.41
Darkorchid
#9932CC
ΔE00 5.98
Purpley Pink
#C83CB9
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A541B4 #50B441
analogous
#6B41B4 #A541B4 #B44189
triadic
#A541B4 #B4A541 #41B4A5
tetradic
#A541B4 #B46B41 #50B441 #4189B4
square
#A541B4 #B46B41 #50B441 #4189B4
split-complementary
#A541B4 #89B441 #41B46B
monochromatic
#53215A #7C3187 #A541B4 #BC69C9 #D096D9
Accessibility & contrast
On white
5.23
#A541B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#A541B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A541B4
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A541B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A541B4 | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2665B7
Deuteranopia (green-blind)
#5070B1
Tritanopia (blue-blind)
#A75375
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a541b4; /* rgb */ color: rgb(165, 65, 180); /* oklch */ color: oklch(55.7% 0.192 322.2);
Tailwind
colors: {
custom: {
50: '#c37dcb',
500: '#a541b4',
950: '#000000',
},
}SCSS
$custom: #a541b4; $custom-light: #c37dcb; $custom-dark: #000000;
JSON
{
"hex": "#a541b4",
"rgb": {
"r": 165,
"g": 65,
"b": 180
},
"hsl": {
"h": 292.174,
"s": 46.939,
"l": 48.039
},
"oklch": {
"l": 0.5567,
"c": 0.192,
"h": 322.2
},
"luminance": 0.15075
}Semantic roles & 50–950 ramp
primary
#A541B4
secondary
#93C58C
accent
#D75163
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82