#A751C1#A751C1
#A751C1 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.6% C 0.182 H 317.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A751C1 |
|---|---|
| RGB | rgb(167, 81, 193) |
| HSL | hsl(286, 47%, 54%) |
| HSV | hsv(286, 58%, 76%) |
| CMYK | cmyk(13.5%, 58%, 0%, 24.3%) |
| CIE-LAB | lab(49.44, 52.62, -43.91) |
| CIE-LCH | lch(49.44, 68.53, 320.15°) |
| OKLab | oklab(58.65% 0.1348 -0.1225) |
| OKLCH | oklch(58.65% 0.182 317.7) |
| XYZ | xyz(28.5031, 17.9517, 52.4053) |
| Luminance | 0.1795 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.86
Mediumorchid
#BA55D3
ΔE00 4.54
Deep Lavender
#8D5EB7
ΔE00 5.84
Purply
#983FB2
ΔE00 5.84
Lightish Purple
#A552E6
ΔE00 6.09
Medium Purple
#9E43A2
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A751C1 #6BC151
analogous
#6F51C1 #A751C1 #C151A3
triadic
#A751C1 #C1A751 #51C1A7
tetradic
#A751C1 #C16F51 #6BC151 #51A3C1
square
#A751C1 #C16F51 #6BC151 #51A3C1
split-complementary
#A751C1 #A3C151 #51C16F
monochromatic
#5F2870 #85389D #A751C1 #BE7ED1 #D5ABE1
Accessibility & contrast
On white
4.57
#A751C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#A751C1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A751C1
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A751C1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A751C1 | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3570C5
Deuteranopia (green-blind)
#5578BE
Tritanopia (blue-blind)
#A66381
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #a751c1; /* rgb */ color: rgb(167, 81, 193); /* oklch */ color: oklch(58.6% 0.182 317.7);
Tailwind
colors: {
custom: {
50: '#c486d4',
500: '#a751c1',
950: '#000000',
},
}SCSS
$custom: #a751c1; $custom-light: #c486d4; $custom-dark: #000000;
JSON
{
"hex": "#a751c1",
"rgb": {
"r": 167,
"g": 81,
"b": 193
},
"hsl": {
"h": 286.071,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.58646,
"c": 0.18218,
"h": 317.7
},
"luminance": 0.17951
}Semantic roles & 50–950 ramp
primary
#A751C1
secondary
#AACF9F
accent
#D75170
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83