#A951C4#A951C4
#A951C4 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.1% C 0.186 H 317.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A951C4 |
|---|---|
| RGB | rgb(169, 81, 196) |
| HSL | hsl(286, 49%, 54%) |
| HSV | hsv(286, 59%, 77%) |
| CMYK | cmyk(13.8%, 58.7%, 0%, 23.1%) |
| CIE-LAB | lab(49.87, 53.73, -44.95) |
| CIE-LCH | lch(49.87, 70.05, 320.09°) |
| OKLab | oklab(59.07% 0.1374 -0.1255) |
| OKLCH | oklch(59.07% 0.186 317.6) |
| XYZ | xyz(29.2670, 18.3065, 54.2057) |
| Luminance | 0.1830 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.97
Mediumorchid
#BA55D3
ΔE00 4.02
Lightish Purple
#A552E6
ΔE00 5.70
Deep Lavender
#8D5EB7
ΔE00 6.14
Purply
#983FB2
ΔE00 6.25
Purpley Pink
#C83CB9
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A951C4 #6CC451
analogous
#7051C4 #A951C4 #C451A6
triadic
#A951C4 #C4A951 #51C4A9
tetradic
#A951C4 #C47051 #6CC451 #51A6C4
square
#A951C4 #C47051 #6CC451 #51A6C4
split-complementary
#A951C4 #A6C451 #51C470
monochromatic
#622773 #8837A1 #A951C4 #C07FD3 #D6ACE3
Accessibility & contrast
On white
4.51
#A951C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#A951C4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A951C4
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A951C4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A951C4 | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3471C8
Deuteranopia (green-blind)
#5579C1
Tritanopia (blue-blind)
#A86483
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #a951c4; /* rgb */ color: rgb(169, 81, 196); /* oklch */ color: oklch(59.1% 0.186 317.6);
Tailwind
colors: {
custom: {
50: '#c586d6',
500: '#a951c4',
950: '#000000',
},
}SCSS
$custom: #a951c4; $custom-light: #c586d6; $custom-dark: #000000;
JSON
{
"hex": "#a951c4",
"rgb": {
"r": 169,
"g": 81,
"b": 196
},
"hsl": {
"h": 285.913,
"s": 49.356,
"l": 54.314
},
"oklch": {
"l": 0.59068,
"c": 0.18607,
"h": 317.6
},
"luminance": 0.18305
}Semantic roles & 50–950 ramp
primary
#A951C4
secondary
#ABD1A0
accent
#D94F6F
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83