#A541B7#A541B7
#A541B7 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.8% C 0.195 H 321.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #A541B7 |
|---|---|
| RGB | rgb(165, 65, 183) |
| HSL | hsl(291, 48%, 49%) |
| HSV | hsv(291, 64%, 72%) |
| CMYK | cmyk(9.8%, 64.5%, 0%, 28.2%) |
| CIE-LAB | lab(45.91, 57.54, -43.72) |
| CIE-LCH | lch(45.91, 72.27, 322.77°) |
| OKLab | oklab(55.85% 0.1518 -0.1219) |
| OKLCH | oklch(55.85% 0.195 321.2) |
| XYZ | xyz(25.9536, 15.2001, 46.3574) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.73
Medium Purple
#9E43A2
ΔE00 3.71
Ugly Purple
#A442A0
ΔE00 4.32
Barney
#AC1DB8
ΔE00 4.40
Darkorchid
#9932CC
ΔE00 5.58
Purpley Pink
#C83CB9
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A541B7 #53B741
analogous
#6A41B7 #A541B7 #B7418E
triadic
#A541B7 #B7A541 #41B7A5
tetradic
#A541B7 #B76A41 #53B741 #418EB7
square
#A541B7 #B76A41 #53B741 #418EB7
split-complementary
#A541B7 #8EB741 #41B76A
monochromatic
#54215D #7C318A #A541B7 #BC6BCA #D098DA
Accessibility & contrast
On white
5.20
#A541B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#A541B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A541B7
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A541B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A541B7 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2266BB
Deuteranopia (green-blind)
#4E70B4
Tritanopia (blue-blind)
#A65476
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a541b7; /* rgb */ color: rgb(165, 65, 183); /* oklch */ color: oklch(55.8% 0.195 321.2);
Tailwind
colors: {
custom: {
50: '#c37dcd',
500: '#a541b7',
950: '#000000',
},
}SCSS
$custom: #a541b7; $custom-light: #c37dcd; $custom-dark: #000000;
JSON
{
"hex": "#a541b7",
"rgb": {
"r": 165,
"g": 65,
"b": 183
},
"hsl": {
"h": 290.847,
"s": 47.581,
"l": 48.627
},
"oklch": {
"l": 0.55846,
"c": 0.19472,
"h": 321.2
},
"luminance": 0.15199
}Semantic roles & 50–950 ramp
primary
#A541B7
secondary
#96C68E
accent
#D75165
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82