#A151B3#A151B3
#A151B3 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.1% C 0.165 H 320.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A151B3 |
|---|---|
| RGB | rgb(161, 81, 179) |
| HSL | hsl(289, 39%, 51%) |
| HSV | hsv(289, 55%, 70%) |
| CMYK | cmyk(10.1%, 54.7%, 0%, 29.8%) |
| CIE-LAB | lab(47.90, 48.20, -38.25) |
| CIE-LCH | lch(47.90, 61.53, 321.56°) |
| OKLab | oklab(57.11% 0.1265 -0.1062) |
| OKLCH | oklch(57.11% 0.165 320) |
| XYZ | xyz(25.7761, 16.7177, 44.5082) |
| Luminance | 0.1672 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 4.38
Amethyst
#9B5FC0
ΔE00 4.50
Ugly Purple
#A442A0
ΔE00 4.82
Purply
#983FB2
ΔE00 4.89
Deep Lavender
#8D5EB7
ΔE00 5.46
Mediumorchid
#BA55D3
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A151B3 #63B351
analogous
#7051B3 #A151B3 #B35194
triadic
#A151B3 #B3A151 #51B3A1
tetradic
#A151B3 #B37051 #63B351 #5194B3
square
#A151B3 #B37051 #63B351 #5194B3
split-complementary
#A151B3 #94B351 #51B370
monochromatic
#562A60 #7C3C8A #A151B3 #B87CC6 #CFA6D8
Accessibility & contrast
On white
4.83
#A151B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#A151B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A151B3
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A151B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A151B3 | 1.00 | 4.83 | 4.34 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E6CB6
Deuteranopia (green-blind)
#5975B0
Tritanopia (blue-blind)
#A25F7A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #a151b3; /* rgb */ color: rgb(161, 81, 179); /* oklch */ color: oklch(57.1% 0.165 320.0);
Tailwind
colors: {
custom: {
50: '#bf85ca',
500: '#a151b3',
950: '#000000',
},
}SCSS
$custom: #a151b3; $custom-light: #bf85ca; $custom-dark: #000000;
JSON
{
"hex": "#a151b3",
"rgb": {
"r": 161,
"g": 81,
"b": 179
},
"hsl": {
"h": 288.98,
"s": 39.2,
"l": 50.98
},
"oklch": {
"l": 0.57114,
"c": 0.16523,
"h": 320
},
"luminance": 0.16717
}Semantic roles & 50–950 ramp
primary
#A151B3
secondary
#A2C69A
accent
#CF596E
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120B13
muted
#817C82