#A548C2#A548C2
#A548C2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.195 H 317.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A548C2 |
|---|---|
| RGB | rgb(165, 72, 194) |
| HSL | hsl(286, 50%, 52%) |
| HSV | hsv(286, 63%, 76%) |
| CMYK | cmyk(14.9%, 62.9%, 0%, 23.9%) |
| CIE-LAB | lab(47.66, 56.58, -47.33) |
| CIE-LCH | lch(47.66, 73.76, 320.08°) |
| OKLab | oklab(57.32% 0.1436 -0.1325) |
| OKLCH | oklch(57.32% 0.195 317.3) |
| XYZ | xyz(27.5706, 16.5302, 52.7668) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.13
Amethyst
#9B5FC0
ΔE00 5.43
Darkorchid
#9932CC
ΔE00 5.54
Medium Purple
#9E43A2
ΔE00 5.73
Mediumorchid
#BA55D3
ΔE00 6.03
Barney
#AC1DB8
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A548C2 #65C248
analogous
#6848C2 #A548C2 #C248A2
triadic
#A548C2 #C2A548 #48C2A5
tetradic
#A548C2 #C26848 #65C248 #48A2C2
square
#A548C2 #C26848 #65C248 #48A2C2
split-complementary
#A548C2 #A2C248 #48C268
monochromatic
#5B246C #81339A #A548C2 #BC76D1 #D2A4E1
Accessibility & contrast
On white
4.88
#A548C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#A548C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A548C2
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A548C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A548C2 | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#216BC6
Deuteranopia (green-blind)
#4B74BF
Tritanopia (blue-blind)
#A45D7F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #a548c2; /* rgb */ color: rgb(165, 72, 194); /* oklch */ color: oklch(57.3% 0.195 317.3);
Tailwind
colors: {
custom: {
50: '#c381d5',
500: '#a548c2',
950: '#000000',
},
}SCSS
$custom: #a548c2; $custom-light: #c381d5; $custom-dark: #000000;
JSON
{
"hex": "#a548c2",
"rgb": {
"r": 165,
"g": 72,
"b": 194
},
"hsl": {
"h": 285.738,
"s": 50,
"l": 52.157
},
"oklch": {
"l": 0.57317,
"c": 0.19538,
"h": 317.3
},
"luminance": 0.16529
}Semantic roles & 50–950 ramp
primary
#A548C2
secondary
#A5CE98
accent
#DA4E6F
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83