#A751BA#A751BA
#A751BA is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.3% C 0.175 H 320.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A751BA |
|---|---|
| RGB | rgb(167, 81, 186) |
| HSL | hsl(289, 43%, 52%) |
| HSV | hsv(289, 56%, 73%) |
| CMYK | cmyk(10.2%, 56.5%, 0%, 27.1%) |
| CIE-LAB | lab(49.06, 51.21, -40.45) |
| CIE-LCH | lch(49.06, 65.26, 321.70°) |
| OKLab | oklab(58.25% 0.1344 -0.1124) |
| OKLCH | oklch(58.25% 0.175 320.1) |
| XYZ | xyz(27.7406, 17.6467, 48.3898) |
| Luminance | 0.1765 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.25
Mediumorchid
#BA55D3
ΔE00 5.21
Medium Purple
#9E43A2
ΔE00 5.47
Purply
#983FB2
ΔE00 5.64
Ugly Purple
#A442A0
ΔE00 5.71
Deep Lavender
#8D5EB7
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A751BA #64BA51
analogous
#7351BA #A751BA #BA5198
triadic
#A751BA #BAA751 #51BAA7
tetradic
#A751BA #BA7351 #64BA51 #5198BA
square
#A751BA #BA7351 #64BA51 #5198BA
split-complementary
#A751BA #98BA51 #51BA73
monochromatic
#5C2968 #833A93 #A751BA #BD7DCB #D3A9DD
Accessibility & contrast
On white
4.64
#A751BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#A751BA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A751BA
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A751BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A751BA | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C6FBD
Deuteranopia (green-blind)
#5978B7
Tritanopia (blue-blind)
#A8617E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #a751ba; /* rgb */ color: rgb(167, 81, 186); /* oklch */ color: oklch(58.3% 0.175 320.1);
Tailwind
colors: {
custom: {
50: '#c486cf',
500: '#a751ba',
950: '#000000',
},
}SCSS
$custom: #a751ba; $custom-light: #c486cf; $custom-dark: #000000;
JSON
{
"hex": "#a751ba",
"rgb": {
"r": 167,
"g": 81,
"b": 186
},
"hsl": {
"h": 289.143,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.58253,
"c": 0.17522,
"h": 320.1
},
"luminance": 0.17646
}Semantic roles & 50–950 ramp
primary
#A751BA
secondary
#A5CA9D
accent
#D3556C
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82