#A548B7#A548B7
#A548B7 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.7% C 0.185 H 320.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A548B7 |
|---|---|
| RGB | rgb(165, 72, 183) |
| HSL | hsl(290, 44%, 50%) |
| HSV | hsv(290, 61%, 72%) |
| CMYK | cmyk(9.8%, 60.7%, 0%, 28.2%) |
| CIE-LAB | lab(47.05, 54.40, -41.91) |
| CIE-LCH | lch(47.05, 68.68, 322.39°) |
| OKLab | oklab(56.67% 0.1434 -0.1167) |
| OKLCH | oklch(56.67% 0.185 320.9) |
| XYZ | xyz(26.3807, 16.0542, 46.4998) |
| Luminance | 0.1605 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.65
Medium Purple
#9E43A2
ΔE00 3.94
Ugly Purple
#A442A0
ΔE00 4.43
Barney
#AC1DB8
ΔE00 5.77
Amethyst
#9B5FC0
ΔE00 5.90
Purpley Pink
#C83CB9
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A548B7 #5AB748
analogous
#6D48B7 #A548B7 #B74892
triadic
#A548B7 #B7A548 #48B7A5
tetradic
#A548B7 #B76D48 #5AB748 #4892B7
square
#A548B7 #B76D48 #5AB748 #4892B7
split-complementary
#A548B7 #92B748 #48B76D
monochromatic
#56255F #7D378B #A548B7 #BB74C8 #D0A0DA
Accessibility & contrast
On white
4.99
#A548B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#A548B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A548B7
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A548B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A548B7 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F69BA
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#A65979
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a548b7; /* rgb */ color: rgb(165, 72, 183); /* oklch */ color: oklch(56.7% 0.185 320.9);
Tailwind
colors: {
custom: {
50: '#c280cd',
500: '#a548b7',
950: '#000000',
},
}SCSS
$custom: #a548b7; $custom-light: #c280cd; $custom-dark: #000000;
JSON
{
"hex": "#a548b7",
"rgb": {
"r": 165,
"g": 72,
"b": 183
},
"hsl": {
"h": 290.27,
"s": 43.529,
"l": 50
},
"oklch": {
"l": 0.56671,
"c": 0.18487,
"h": 320.9
},
"luminance": 0.16053
}Semantic roles & 50–950 ramp
primary
#A548B7
secondary
#9DC695
accent
#D35569
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82