#A754BC#A754BC
#A754BC is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.8% C 0.173 H 319.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A754BC |
|---|---|
| RGB | rgb(167, 84, 188) |
| HSL | hsl(288, 44%, 53%) |
| HSV | hsv(288, 55%, 74%) |
| CMYK | cmyk(11.2%, 55.3%, 0%, 26.3%) |
| CIE-LAB | lab(49.72, 50.12, -40.56) |
| CIE-LCH | lch(49.72, 64.48, 321.02°) |
| OKLab | oklab(58.77% 0.1306 -0.1128) |
| OKLCH | oklch(58.77% 0.173 319.2) |
| XYZ | xyz(28.1826, 18.1881, 49.5933) |
| Luminance | 0.1819 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.64
Mediumorchid
#BA55D3
ΔE00 4.74
Deep Lavender
#8D5EB7
ΔE00 5.69
Medium Purple
#9E43A2
ΔE00 6.19
Purply
#983FB2
ΔE00 6.29
Ugly Purple
#A442A0
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A754BC #69BC54
analogous
#7354BC #A754BC #BC549D
triadic
#A754BC #BCA754 #54BCA7
tetradic
#A754BC #BC7354 #69BC54 #549DBC
square
#A754BC #BC7354 #69BC54 #549DBC
split-complementary
#A754BC #9DBC54 #54BC73
monochromatic
#5E2A6B #853B97 #A754BC #BE80CD #D4ACDE
Accessibility & contrast
On white
4.53
#A754BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#A754BC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A754BC
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A754BC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A754BC | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F71BF
Deuteranopia (green-blind)
#5B79B9
Tritanopia (blue-blind)
#A76480
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a754bc; /* rgb */ color: rgb(167, 84, 188); /* oklch */ color: oklch(58.8% 0.173 319.2);
Tailwind
colors: {
custom: {
50: '#c388d0',
500: '#a754bc',
950: '#000000',
},
}SCSS
$custom: #a754bc; $custom-light: #c388d0; $custom-dark: #000000;
JSON
{
"hex": "#a754bc",
"rgb": {
"r": 167,
"g": 84,
"b": 188
},
"hsl": {
"h": 287.885,
"s": 43.697,
"l": 53.333
},
"oklch": {
"l": 0.5877,
"c": 0.17254,
"h": 319.2
},
"luminance": 0.18187
}Semantic roles & 50–950 ramp
primary
#A754BC
secondary
#A9CCA0
accent
#D3546E
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82