#A751BB#A751BB
#A751BB is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.3% C 0.176 H 319.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A751BB |
|---|---|
| RGB | rgb(167, 81, 187) |
| HSL | hsl(289, 44%, 53%) |
| HSV | hsv(289, 57%, 73%) |
| CMYK | cmyk(10.7%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(49.12, 51.41, -40.94) |
| CIE-LCH | lch(49.12, 65.72, 321.47°) |
| OKLab | oklab(58.31% 0.1344 -0.1139) |
| OKLCH | oklch(58.31% 0.176 319.7) |
| XYZ | xyz(27.8473, 17.6894, 48.9516) |
| Luminance | 0.1769 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.17
Mediumorchid
#BA55D3
ΔE00 5.10
Medium Purple
#9E43A2
ΔE00 5.60
Purply
#983FB2
ΔE00 5.65
Ugly Purple
#A442A0
ΔE00 5.86
Deep Lavender
#8D5EB7
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A751BB #65BB51
analogous
#7251BB #A751BB #BB519A
triadic
#A751BB #BBA751 #51BBA7
tetradic
#A751BB #BB7251 #65BB51 #519ABB
square
#A751BB #BB7251 #65BB51 #519ABB
split-complementary
#A751BB #9ABB51 #51BB72
monochromatic
#5D2969 #843A95 #A751BB #BD7DCC #D4A9DD
Accessibility & contrast
On white
4.63
#A751BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#A751BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A751BB
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A751BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A751BB | 1.00 | 4.63 | 4.54 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B6FBE
Deuteranopia (green-blind)
#5978B8
Tritanopia (blue-blind)
#A8617E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #a751bb; /* rgb */ color: rgb(167, 81, 187); /* oklch */ color: oklch(58.3% 0.176 319.7);
Tailwind
colors: {
custom: {
50: '#c486d0',
500: '#a751bb',
950: '#000000',
},
}SCSS
$custom: #a751bb; $custom-light: #c486d0; $custom-dark: #000000;
JSON
{
"hex": "#a751bb",
"rgb": {
"r": 167,
"g": 81,
"b": 187
},
"hsl": {
"h": 288.679,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.58308,
"c": 0.1762,
"h": 319.7
},
"luminance": 0.17688
}Semantic roles & 50–950 ramp
primary
#A751BB
secondary
#A6CB9D
accent
#D4546C
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82