#A541B2#A541B2
#A541B2 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.190 H 322.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A541B2 |
|---|---|
| RGB | rgb(165, 65, 178) |
| HSL | hsl(293, 47%, 48%) |
| HSV | hsv(293, 63%, 70%) |
| CMYK | cmyk(7.3%, 63.5%, 0%, 30.2%) |
| CIE-LAB | lab(45.63, 56.60, -41.23) |
| CIE-LCH | lch(45.63, 70.02, 323.93°) |
| OKLab | oklab(55.55% 0.1517 -0.1147) |
| OKLCH | oklch(55.55% 0.19 322.9) |
| XYZ | xyz(25.4424, 14.9957, 43.6652) |
| Luminance | 0.1499 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.88
Medium Purple
#9E43A2
ΔE00 2.88
Ugly Purple
#A442A0
ΔE00 3.42
Barney
#AC1DB8
ΔE00 4.46
Darkorchid
#9932CC
ΔE00 6.26
Purpley Pink
#C83CB9
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A541B2 #4EB241
analogous
#6C41B2 #A541B2 #B24187
triadic
#A541B2 #B2A541 #41B2A5
tetradic
#A541B2 #B26C41 #4EB241 #4187B2
square
#A541B2 #B26C41 #4EB241 #4187B2
split-complementary
#A541B2 #87B241 #41B26C
monochromatic
#522058 #7B3185 #A541B2 #BD68C8 #D195D8
Accessibility & contrast
On white
5.25
#A541B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#A541B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A541B2
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A541B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A541B2 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#A75274
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a541b2; /* rgb */ color: rgb(165, 65, 178); /* oklch */ color: oklch(55.6% 0.190 322.9);
Tailwind
colors: {
custom: {
50: '#c37cc9',
500: '#a541b2',
950: '#000000',
},
}SCSS
$custom: #a541b2; $custom-light: #c37cc9; $custom-dark: #000000;
JSON
{
"hex": "#a541b2",
"rgb": {
"r": 165,
"g": 65,
"b": 178
},
"hsl": {
"h": 293.097,
"s": 46.502,
"l": 47.647
},
"oklch": {
"l": 0.55554,
"c": 0.1902,
"h": 322.9
},
"luminance": 0.14994
}Semantic roles & 50–950 ramp
primary
#A541B2
secondary
#91C48B
accent
#D65261
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82