#A148B2#A148B2
#A148B2 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.9% C 0.178 H 321.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A148B2 |
|---|---|
| RGB | rgb(161, 72, 178) |
| HSL | hsl(290, 42%, 49%) |
| HSV | hsv(290, 60%, 70%) |
| CMYK | cmyk(9.6%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(46.21, 52.41, -40.34) |
| CIE-LCH | lch(46.21, 66.14, 322.42°) |
| OKLab | oklab(55.86% 0.1384 -0.1122) |
| OKLCH | oklch(55.86% 0.178 321) |
| XYZ | xyz(25.0503, 15.4273, 43.7691) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.06
Medium Purple
#9E43A2
ΔE00 3.08
Ugly Purple
#A442A0
ΔE00 3.80
Barney
#AC1DB8
ΔE00 5.73
Amethyst
#9B5FC0
ΔE00 6.22
Darkorchid
#9932CC
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A148B2 #59B248
analogous
#6C48B2 #A148B2 #B2488E
triadic
#A148B2 #B2A148 #48B2A1
tetradic
#A148B2 #B26C48 #59B248 #488EB2
square
#A148B2 #B26C48 #59B248 #488EB2
split-complementary
#A148B2 #8EB248 #48B26C
monochromatic
#52255B #7A3686 #A148B2 #B871C6 #CE9DD7
Accessibility & contrast
On white
5.14
#A148B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#A148B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A148B2
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A148B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A148B2 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#5271AF
Tritanopia (blue-blind)
#A25876
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a148b2; /* rgb */ color: rgb(161, 72, 178); /* oklch */ color: oklch(55.9% 0.178 321.0);
Tailwind
colors: {
custom: {
50: '#bf80c9',
500: '#a148b2',
950: '#000000',
},
}SCSS
$custom: #a148b2; $custom-light: #bf80c9; $custom-dark: #000000;
JSON
{
"hex": "#a148b2",
"rgb": {
"r": 161,
"g": 72,
"b": 178
},
"hsl": {
"h": 290.377,
"s": 42.4,
"l": 49.02
},
"oklch": {
"l": 0.55862,
"c": 0.17815,
"h": 321
},
"luminance": 0.15426
}Semantic roles & 50–950 ramp
primary
#A148B2
secondary
#9AC492
accent
#D2566A
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82