#A548B9#A548B9
#A548B9 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.8% C 0.187 H 320.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A548B9 |
|---|---|
| RGB | rgb(165, 72, 185) |
| HSL | hsl(289, 45%, 50%) |
| HSV | hsv(289, 61%, 73%) |
| CMYK | cmyk(10.8%, 61.1%, 0%, 27.5%) |
| CIE-LAB | lab(47.16, 54.79, -42.91) |
| CIE-LCH | lch(47.16, 69.59, 321.94°) |
| OKLab | oklab(56.79% 0.1435 -0.1196) |
| OKLCH | oklch(56.79% 0.187 320.2) |
| XYZ | xyz(26.5903, 16.1381, 47.6039) |
| Luminance | 0.1614 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.66
Medium Purple
#9E43A2
ΔE00 4.26
Ugly Purple
#A442A0
ΔE00 4.78
Amethyst
#9B5FC0
ΔE00 5.77
Barney
#AC1DB8
ΔE00 5.79
Darkorchid
#9932CC
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A548B9 #5CB948
analogous
#6D48B9 #A548B9 #B94894
triadic
#A548B9 #B9A548 #48B9A5
tetradic
#A548B9 #B96D48 #5CB948 #4894B9
square
#A548B9 #B96D48 #5CB948 #4894B9
split-complementary
#A548B9 #94B948 #48B96D
monochromatic
#572561 #7E368E #A548B9 #BB74CA #D1A1DB
Accessibility & contrast
On white
4.97
#A548B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#A548B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A548B9
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A548B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A548B9 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D69BC
Deuteranopia (green-blind)
#5273B6
Tritanopia (blue-blind)
#A65A7A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a548b9; /* rgb */ color: rgb(165, 72, 185); /* oklch */ color: oklch(56.8% 0.187 320.2);
Tailwind
colors: {
custom: {
50: '#c381ce',
500: '#a548b9',
950: '#000000',
},
}SCSS
$custom: #a548b9; $custom-light: #c381ce; $custom-dark: #000000;
JSON
{
"hex": "#a548b9",
"rgb": {
"r": 165,
"g": 72,
"b": 185
},
"hsl": {
"h": 289.381,
"s": 44.664,
"l": 50.392
},
"oklch": {
"l": 0.56786,
"c": 0.18676,
"h": 320.2
},
"luminance": 0.16137
}Semantic roles & 50–950 ramp
primary
#A548B9
secondary
#9EC895
accent
#D4536A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82