#A048B2#A048B2
#A048B2 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.7% C 0.178 H 320.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A048B2 |
|---|---|
| RGB | rgb(160, 72, 178) |
| HSL | hsl(290, 42%, 49%) |
| HSV | hsv(290, 60%, 70%) |
| CMYK | cmyk(10.1%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(46.07, 52.15, -40.57) |
| CIE-LCH | lch(46.07, 66.07, 322.12°) |
| OKLab | oklab(55.73% 0.1371 -0.1129) |
| OKLCH | oklch(55.73% 0.178 320.5) |
| XYZ | xyz(24.8495, 15.3238, 43.7597) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.89
Medium Purple
#9E43A2
ΔE00 3.10
Ugly Purple
#A442A0
ΔE00 3.89
Barney
#AC1DB8
ΔE00 5.72
Amethyst
#9B5FC0
ΔE00 6.21
Darkorchid
#9932CC
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A048B2 #5AB248
analogous
#6B48B2 #A048B2 #B2488F
triadic
#A048B2 #B2A048 #48B2A0
tetradic
#A048B2 #B26B48 #5AB248 #488FB2
square
#A048B2 #B26B48 #5AB248 #488FB2
split-complementary
#A048B2 #8FB248 #48B26B
monochromatic
#52255B #793686 #A048B2 #B771C6 #CD9DD7
Accessibility & contrast
On white
5.17
#A048B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#A048B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A048B2
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A048B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A048B2 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#5270AF
Tritanopia (blue-blind)
#A15876
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a048b2; /* rgb */ color: rgb(160, 72, 178); /* oklch */ color: oklch(55.7% 0.178 320.5);
Tailwind
colors: {
custom: {
50: '#bf80c9',
500: '#a048b2',
950: '#000000',
},
}SCSS
$custom: #a048b2; $custom-light: #bf80c9; $custom-dark: #000000;
JSON
{
"hex": "#a048b2",
"rgb": {
"r": 160,
"g": 72,
"b": 178
},
"hsl": {
"h": 289.811,
"s": 42.4,
"l": 49.02
},
"oklch": {
"l": 0.55731,
"c": 0.17765,
"h": 320.5
},
"luminance": 0.15323
}Semantic roles & 50–950 ramp
primary
#A048B2
secondary
#9AC492
accent
#D2566B
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82