#A548B2#A548B2
#A548B2 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.4% C 0.180 H 322.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A548B2 |
|---|---|
| RGB | rgb(165, 72, 178) |
| HSL | hsl(293, 42%, 49%) |
| HSV | hsv(293, 60%, 70%) |
| CMYK | cmyk(7.3%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(46.78, 53.44, -39.41) |
| CIE-LCH | lch(46.78, 66.40, 323.59°) |
| OKLab | oklab(56.39% 0.1431 -0.1094) |
| OKLCH | oklch(56.39% 0.18 322.6) |
| XYZ | xyz(25.8695, 15.8497, 43.8075) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.17
Ugly Purple
#A442A0
ΔE00 3.56
Purply
#983FB2
ΔE00 3.79
Barney
#AC1DB8
ΔE00 5.84
Amethyst
#9B5FC0
ΔE00 6.32
Purpley Pink
#C83CB9
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A548B2 #55B248
analogous
#7048B2 #A548B2 #B2488A
triadic
#A548B2 #B2A548 #48B2A5
tetradic
#A548B2 #B27048 #55B248 #488AB2
square
#A548B2 #B27048 #55B248 #488AB2
split-complementary
#A548B2 #8AB248 #48B270
monochromatic
#54255B #7D3686 #A548B2 #BB71C6 #D09DD7
Accessibility & contrast
On white
5.04
#A548B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#A548B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A548B2
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A548B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A548B2 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#5673AF
Tritanopia (blue-blind)
#A75876
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a548b2; /* rgb */ color: rgb(165, 72, 178); /* oklch */ color: oklch(56.4% 0.180 322.6);
Tailwind
colors: {
custom: {
50: '#c280c9',
500: '#a548b2',
950: '#000000',
},
}SCSS
$custom: #a548b2; $custom-light: #c280c9; $custom-dark: #000000;
JSON
{
"hex": "#a548b2",
"rgb": {
"r": 165,
"g": 72,
"b": 178
},
"hsl": {
"h": 292.642,
"s": 42.4,
"l": 49.02
},
"oklch": {
"l": 0.56388,
"c": 0.18016,
"h": 322.6
},
"luminance": 0.15848
}Semantic roles & 50–950 ramp
primary
#A548B2
secondary
#98C492
accent
#D25665
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82