#A154BC#A154BC
#A154BC is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.0% C 0.170 H 316.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A154BC |
|---|---|
| RGB | rgb(161, 84, 188) |
| HSL | hsl(284, 44%, 53%) |
| HSV | hsv(284, 55%, 74%) |
| CMYK | cmyk(14.4%, 55.3%, 0%, 26.3%) |
| CIE-LAB | lab(48.95, 48.52, -41.85) |
| CIE-LCH | lch(48.95, 64.07, 319.22°) |
| OKLab | oklab(58.03% 0.1232 -0.1167) |
| OKLCH | oklch(58.03% 0.17 316.6) |
| XYZ | xyz(26.9440, 17.5495, 49.5353) |
| Luminance | 0.1755 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.09
Deep Lavender
#8D5EB7
ΔE00 4.67
Mediumorchid
#BA55D3
ΔE00 5.56
Purply
#983FB2
ΔE00 5.59
Medium Purple
#9E43A2
ΔE00 6.05
Ugly Purple
#A442A0
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A154BC #6FBC54
analogous
#6D54BC #A154BC #BC54A3
triadic
#A154BC #BCA154 #54BCA1
tetradic
#A154BC #BC6D54 #6FBC54 #54A3BC
square
#A154BC #BC6D54 #6FBC54 #54A3BC
split-complementary
#A154BC #A3BC54 #54BC6D
monochromatic
#5B2A6B #803B97 #A154BC #B980CD #D1ACDE
Accessibility & contrast
On white
4.66
#A154BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#A154BC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A154BC
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A154BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A154BC | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C6FBF
Deuteranopia (green-blind)
#5677B9
Tritanopia (blue-blind)
#A06580
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a154bc; /* rgb */ color: rgb(161, 84, 188); /* oklch */ color: oklch(58.0% 0.170 316.6);
Tailwind
colors: {
custom: {
50: '#bf87d0',
500: '#a154bc',
950: '#000000',
},
}SCSS
$custom: #a154bc; $custom-light: #bf87d0; $custom-dark: #000000;
JSON
{
"hex": "#a154bc",
"rgb": {
"r": 161,
"g": 84,
"b": 188
},
"hsl": {
"h": 284.423,
"s": 43.697,
"l": 53.333
},
"oklch": {
"l": 0.58033,
"c": 0.16972,
"h": 316.6
},
"luminance": 0.17549
}Semantic roles & 50–950 ramp
primary
#A154BC
secondary
#ABCCA0
accent
#D35475
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82