#A148BA#A148BA
#A148BA is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.3% C 0.186 H 318.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A148BA |
|---|---|
| RGB | rgb(161, 72, 186) |
| HSL | hsl(287, 45%, 51%) |
| HSV | hsv(287, 61%, 73%) |
| CMYK | cmyk(13.4%, 61.3%, 0%, 27.1%) |
| CIE-LAB | lab(46.66, 54.00, -44.32) |
| CIE-LCH | lch(46.66, 69.86, 320.62°) |
| OKLab | oklab(56.33% 0.1386 -0.1238) |
| OKLCH | oklch(56.33% 0.186 318.2) |
| XYZ | xyz(25.8770, 15.7580, 48.1234) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.06
Medium Purple
#9E43A2
ΔE00 4.45
Ugly Purple
#A442A0
ΔE00 5.20
Darkorchid
#9932CC
ΔE00 5.64
Amethyst
#9B5FC0
ΔE00 5.68
Barney
#AC1DB8
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A148BA #61BA48
analogous
#6848BA #A148BA #BA489A
triadic
#A148BA #BAA148 #48BAA1
tetradic
#A148BA #BA6848 #61BA48 #489ABA
square
#A148BA #BA6848 #61BA48 #489ABA
split-complementary
#A148BA #9ABA48 #48BA68
monochromatic
#552562 #7B368F #A148BA #B874CB #CFA1DC
Accessibility & contrast
On white
5.06
#A148BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#A148BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A148BA
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A148BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A148BA | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#4D71B7
Tritanopia (blue-blind)
#A15B7A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a148ba; /* rgb */ color: rgb(161, 72, 186); /* oklch */ color: oklch(56.3% 0.186 318.2);
Tailwind
colors: {
custom: {
50: '#c080cf',
500: '#a148ba',
950: '#000000',
},
}SCSS
$custom: #a148ba; $custom-light: #c080cf; $custom-dark: #000000;
JSON
{
"hex": "#a148ba",
"rgb": {
"r": 161,
"g": 72,
"b": 186
},
"hsl": {
"h": 286.842,
"s": 45.238,
"l": 50.588
},
"oklch": {
"l": 0.56326,
"c": 0.18588,
"h": 318.2
},
"luminance": 0.15757
}Semantic roles & 50–950 ramp
primary
#A148BA
secondary
#A1C896
accent
#D5536F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82