#A548B1#A548B1
#A548B1 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.3% C 0.179 H 323.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A548B1 |
|---|---|
| RGB | rgb(165, 72, 177) |
| HSL | hsl(293, 42%, 49%) |
| HSV | hsv(293, 59%, 69%) |
| CMYK | cmyk(6.8%, 59.3%, 0%, 30.6%) |
| CIE-LAB | lab(46.72, 53.25, -38.91) |
| CIE-LCH | lch(46.72, 65.95, 323.85°) |
| OKLab | oklab(56.33% 0.1431 -0.108) |
| OKLCH | oklch(56.33% 0.179 323) |
| XYZ | xyz(25.7694, 15.8097, 43.2807) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.03
Ugly Purple
#A442A0
ΔE00 3.38
Purply
#983FB2
ΔE00 3.85
Barney
#AC1DB8
ΔE00 5.88
Purpley Pink
#C83CB9
ΔE00 6.32
Amethyst
#9B5FC0
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A548B1 #54B148
analogous
#7148B1 #A548B1 #B14889
triadic
#A548B1 #B1A548 #48B1A5
tetradic
#A548B1 #B17148 #54B148 #4889B1
square
#A548B1 #B17148 #54B148 #4889B1
split-complementary
#A548B1 #89B148 #48B171
monochromatic
#54255A #7C3685 #A548B1 #BC71C5 #D09CD7
Accessibility & contrast
On white
5.05
#A548B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#A548B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A548B1
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A548B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A548B1 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3568B4
Deuteranopia (green-blind)
#5672AE
Tritanopia (blue-blind)
#A75776
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a548b1; /* rgb */ color: rgb(165, 72, 177); /* oklch */ color: oklch(56.3% 0.179 323.0);
Tailwind
colors: {
custom: {
50: '#c280c9',
500: '#a548b1',
950: '#000000',
},
}SCSS
$custom: #a548b1; $custom-light: #c280c9; $custom-dark: #000000;
JSON
{
"hex": "#a548b1",
"rgb": {
"r": 165,
"g": 72,
"b": 177
},
"hsl": {
"h": 293.143,
"s": 42.169,
"l": 48.824
},
"oklch": {
"l": 0.56332,
"c": 0.17923,
"h": 323
},
"luminance": 0.15808
}Semantic roles & 50–950 ramp
primary
#A548B1
secondary
#97C391
accent
#D25664
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82