#A548C4#A548C4
#A548C4 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.4% C 0.197 H 316.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A548C4 |
|---|---|
| RGB | rgb(165, 72, 196) |
| HSL | hsl(285, 51%, 53%) |
| HSV | hsv(285, 63%, 77%) |
| CMYK | cmyk(15.8%, 63.3%, 0%, 23.1%) |
| CIE-LAB | lab(47.78, 56.98, -48.31) |
| CIE-LCH | lch(47.78, 74.70, 319.71°) |
| OKLab | oklab(57.44% 0.1436 -0.1353) |
| OKLCH | oklch(57.44% 0.197 316.7) |
| XYZ | xyz(27.7967, 16.6206, 53.9577) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.30
Amethyst
#9B5FC0
ΔE00 5.42
Darkorchid
#9932CC
ΔE00 5.43
Mediumorchid
#BA55D3
ΔE00 5.93
Lightish Purple
#A552E6
ΔE00 5.97
Medium Purple
#9E43A2
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A548C4 #67C448
analogous
#6748C4 #A548C4 #C448A5
triadic
#A548C4 #C4A548 #48C4A5
tetradic
#A548C4 #C46748 #67C448 #48A5C4
square
#A548C4 #C46748 #67C448 #48A5C4
split-complementary
#A548C4 #A5C448 #48C467
monochromatic
#5B236E #82329C #A548C4 #BC76D3 #D3A5E2
Accessibility & contrast
On white
4.86
#A548C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#A548C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A548C4
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A548C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A548C4 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D6CC8
Deuteranopia (green-blind)
#4A74C1
Tritanopia (blue-blind)
#A45E80
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #a548c4; /* rgb */ color: rgb(165, 72, 196); /* oklch */ color: oklch(57.4% 0.197 316.7);
Tailwind
colors: {
custom: {
50: '#c381d6',
500: '#a548c4',
950: '#000000',
},
}SCSS
$custom: #a548c4; $custom-light: #c381d6; $custom-dark: #000000;
JSON
{
"hex": "#a548c4",
"rgb": {
"r": 165,
"g": 72,
"b": 196
},
"hsl": {
"h": 285,
"s": 51.24,
"l": 52.549
},
"oklch": {
"l": 0.57439,
"c": 0.19732,
"h": 316.7
},
"luminance": 0.1662
}Semantic roles & 50–950 ramp
primary
#A548C4
secondary
#A6CF99
accent
#DB4D70
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83