#A548B8#A548B8
#A548B8 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.7% C 0.186 H 320.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A548B8 |
|---|---|
| RGB | rgb(165, 72, 184) |
| HSL | hsl(290, 44%, 50%) |
| HSV | hsv(290, 61%, 72%) |
| CMYK | cmyk(10.3%, 60.9%, 0%, 27.8%) |
| CIE-LAB | lab(47.10, 54.60, -42.41) |
| CIE-LCH | lch(47.10, 69.13, 322.16°) |
| OKLab | oklab(56.73% 0.1434 -0.1181) |
| OKLCH | oklch(56.73% 0.186 320.5) |
| XYZ | xyz(26.4851, 16.0960, 47.0499) |
| Luminance | 0.1610 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.65
Medium Purple
#9E43A2
ΔE00 4.10
Ugly Purple
#A442A0
ΔE00 4.61
Barney
#AC1DB8
ΔE00 5.78
Amethyst
#9B5FC0
ΔE00 5.84
Darkorchid
#9932CC
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A548B8 #5BB848
analogous
#6D48B8 #A548B8 #B84893
triadic
#A548B8 #B8A548 #48B8A5
tetradic
#A548B8 #B86D48 #5BB848 #4893B8
square
#A548B8 #B86D48 #5BB848 #4893B8
split-complementary
#A548B8 #93B848 #48B86D
monochromatic
#562560 #7E368C #A548B8 #BB74C9 #D0A0DA
Accessibility & contrast
On white
4.98
#A548B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#A548B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A548B8
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A548B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A548B8 | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E69BB
Deuteranopia (green-blind)
#5273B5
Tritanopia (blue-blind)
#A65A79
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a548b8; /* rgb */ color: rgb(165, 72, 184); /* oklch */ color: oklch(56.7% 0.186 320.5);
Tailwind
colors: {
custom: {
50: '#c381ce',
500: '#a548b8',
950: '#000000',
},
}SCSS
$custom: #a548b8; $custom-light: #c381ce; $custom-dark: #000000;
JSON
{
"hex": "#a548b8",
"rgb": {
"r": 165,
"g": 72,
"b": 184
},
"hsl": {
"h": 289.821,
"s": 44.094,
"l": 50.196
},
"oklch": {
"l": 0.56728,
"c": 0.18582,
"h": 320.5
},
"luminance": 0.16095
}Semantic roles & 50–950 ramp
primary
#A548B8
secondary
#9DC795
accent
#D4546A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82