#A148BB#A148BB
#A148BB is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.4% C 0.187 H 317.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A148BB |
|---|---|
| RGB | rgb(161, 72, 187) |
| HSL | hsl(286, 46%, 51%) |
| HSV | hsv(286, 61%, 73%) |
| CMYK | cmyk(13.9%, 61.5%, 0%, 26.7%) |
| CIE-LAB | lab(46.71, 54.20, -44.81) |
| CIE-LCH | lch(46.71, 70.32, 320.42°) |
| OKLab | oklab(56.39% 0.1387 -0.1253) |
| OKLCH | oklch(56.39% 0.187 317.9) |
| XYZ | xyz(25.9837, 15.8007, 48.6852) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.11
Medium Purple
#9E43A2
ΔE00 4.62
Ugly Purple
#A442A0
ΔE00 5.37
Darkorchid
#9932CC
ΔE00 5.54
Amethyst
#9B5FC0
ΔE00 5.64
Barney
#AC1DB8
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A148BB #62BB48
analogous
#6748BB #A148BB #BB489B
triadic
#A148BB #BBA148 #48BBA1
tetradic
#A148BB #BB6748 #62BB48 #489BBB
square
#A148BB #BB6748 #62BB48 #489BBB
split-complementary
#A148BB #9BBB48 #48BB67
monochromatic
#552564 #7C3690 #A148BB #B875CC #CFA1DC
Accessibility & contrast
On white
5.05
#A148BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#A148BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A148BB
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A148BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A148BB | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2769BF
Deuteranopia (green-blind)
#4D72B8
Tritanopia (blue-blind)
#A05B7B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a148bb; /* rgb */ color: rgb(161, 72, 187); /* oklch */ color: oklch(56.4% 0.187 317.9);
Tailwind
colors: {
custom: {
50: '#c080d0',
500: '#a148bb',
950: '#000000',
},
}SCSS
$custom: #a148bb; $custom-light: #c080d0; $custom-dark: #000000;
JSON
{
"hex": "#a148bb",
"rgb": {
"r": 161,
"g": 72,
"b": 187
},
"hsl": {
"h": 286.435,
"s": 45.817,
"l": 50.784
},
"oklch": {
"l": 0.56385,
"c": 0.18686,
"h": 317.9
},
"luminance": 0.158
}Semantic roles & 50–950 ramp
primary
#A148BB
secondary
#A1C996
accent
#D55270
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82