#A751C2#A751C2
#A751C2 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.7% C 0.183 H 317.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A751C2 |
|---|---|
| RGB | rgb(167, 81, 194) |
| HSL | hsl(286, 48%, 54%) |
| HSV | hsv(286, 58%, 76%) |
| CMYK | cmyk(13.9%, 58.2%, 0%, 23.9%) |
| CIE-LAB | lab(49.49, 52.82, -44.40) |
| CIE-LCH | lch(49.49, 69.00, 319.95°) |
| OKLab | oklab(58.7% 0.1349 -0.124) |
| OKLCH | oklch(58.7% 0.183 317.4) |
| XYZ | xyz(28.6150, 17.9965, 52.9948) |
| Luminance | 0.1799 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.83
Mediumorchid
#BA55D3
ΔE00 4.47
Deep Lavender
#8D5EB7
ΔE00 5.84
Purply
#983FB2
ΔE00 5.89
Lightish Purple
#A552E6
ΔE00 5.92
Medium Purple
#9E43A2
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A751C2 #6CC251
analogous
#6F51C2 #A751C2 #C251A5
triadic
#A751C2 #C2A751 #51C2A7
tetradic
#A751C2 #C26F51 #6CC251 #51A5C2
square
#A751C2 #C26F51 #6CC251 #51A5C2
split-complementary
#A751C2 #A5C251 #51C26F
monochromatic
#5F2871 #86379E #A751C2 #BE7ED2 #D5ACE2
Accessibility & contrast
On white
4.57
#A751C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#A751C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A751C2
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A751C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A751C2 | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3470C6
Deuteranopia (green-blind)
#5578BF
Tritanopia (blue-blind)
#A66382
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a751c2; /* rgb */ color: rgb(167, 81, 194); /* oklch */ color: oklch(58.7% 0.183 317.4);
Tailwind
colors: {
custom: {
50: '#c486d5',
500: '#a751c2',
950: '#000000',
},
}SCSS
$custom: #a751c2; $custom-light: #c486d5; $custom-dark: #000000;
JSON
{
"hex": "#a751c2",
"rgb": {
"r": 167,
"g": 81,
"b": 194
},
"hsl": {
"h": 285.664,
"s": 48.085,
"l": 53.922
},
"oklch": {
"l": 0.58704,
"c": 0.18318,
"h": 317.4
},
"luminance": 0.17995
}Semantic roles & 50–950 ramp
primary
#A751C2
secondary
#ABD09F
accent
#D85071
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83