#A151A3#A151A3
#A151A3 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.3% C 0.149 H 326.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A151A3 |
|---|---|
| RGB | rgb(161, 81, 163) |
| HSL | hsl(299, 34%, 48%) |
| HSV | hsv(299, 50%, 64%) |
| CMYK | cmyk(1.2%, 50.3%, 0%, 36.1%) |
| CIE-LAB | lab(47.12, 45.08, -30.08) |
| CIE-LCH | lch(47.12, 54.19, 326.28°) |
| OKLab | oklab(56.28% 0.1245 -0.0827) |
| OKLCH | oklch(56.28% 0.149 326.4) |
| XYZ | xyz(24.2508, 16.1076, 36.4749) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.31
Medium Purple
#9E43A2
ΔE00 3.53
Purpleish
#98568D
ΔE00 5.27
Purplish
#94568C
ΔE00 5.51
Purply
#983FB2
ΔE00 6.39
Amethyst
#9B5FC0
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A151A3 #53A351
analogous
#7851A3 #A151A3 #A3517C
triadic
#A151A3 #A3A151 #51A3A1
tetradic
#A151A3 #A37851 #53A351 #517CA3
square
#A151A3 #A37851 #53A351 #517CA3
split-complementary
#A151A3 #7CA351 #51A378
monochromatic
#502851 #793D7A #A151A3 #B976BB #CE9FCF
Accessibility & contrast
On white
4.97
#A151A3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#A151A3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A151A3
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A151A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A151A3 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4969A6
Deuteranopia (green-blind)
#6073A1
Tritanopia (blue-blind)
#A55A73
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a151a3; /* rgb */ color: rgb(161, 81, 163); /* oklch */ color: oklch(56.3% 0.149 326.4);
Tailwind
colors: {
custom: {
50: '#bf85be',
500: '#a151a3',
950: '#000000',
},
}SCSS
$custom: #a151a3; $custom-light: #bf85be; $custom-dark: #000000;
JSON
{
"hex": "#a151a3",
"rgb": {
"r": 161,
"g": 81,
"b": 163
},
"hsl": {
"h": 298.537,
"s": 33.607,
"l": 47.843
},
"oklch": {
"l": 0.56277,
"c": 0.14946,
"h": 326.4
},
"luminance": 0.16106
}Semantic roles & 50–950 ramp
primary
#A151A3
secondary
#94BC93
accent
#CA5E61
background
#FBF8FB
surface
#F7EFF7
border
#D0CAD0
text
#120B12
muted
#817C81