#A951E3#A951E3
#A951E3 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.0% C 0.217 H 309.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A951E3 |
|---|---|
| RGB | rgb(169, 81, 227) |
| HSL | hsl(276, 72%, 60%) |
| HSV | hsv(276, 64%, 89%) |
| CMYK | cmyk(25.6%, 64.3%, 0%, 11%) |
| CIE-LAB | lab(51.69, 60.26, -59.73) |
| CIE-LCH | lch(51.69, 84.85, 315.25°) |
| OKLab | oklab(60.97% 0.137 -0.1687) |
| OKLCH | oklch(60.97% 0.217 309.1) |
| XYZ | xyz(33.1670, 19.8665, 74.7455) |
| Luminance | 0.1987 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.93
Lighter Purple
#A55AF4
ΔE00 3.42
Mediumorchid
#BA55D3
ΔE00 4.87
Amethyst
#9B5FC0
ΔE00 6.19
Purpley
#8756E4
ΔE00 6.23
Neon Purple
#BC13FE
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A951E3 #8BE351
analogous
#6051E3 #A951E3 #E351D4
triadic
#A951E3 #E3A951 #51E3A9
tetradic
#A951E3 #E36051 #8BE351 #51D4E3
square
#A951E3 #E36051 #8BE351 #51D4E3
split-complementary
#A951E3 #D4E351 #51E360
monochromatic
#6B1AA0 #8E22D5 #A951E3 #C386EB #DDBAF4
Accessibility & contrast
On white
4.22
#A951E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#A951E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A951E3
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A951E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A951E3 | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#397CE0
Tritanopia (blue-blind)
#A16F93
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a951e3; /* rgb */ color: rgb(169, 81, 227); /* oklch */ color: oklch(61.0% 0.217 309.1);
Tailwind
colors: {
custom: {
50: '#c787ed',
500: '#a951e3',
950: '#000000',
},
}SCSS
$custom: #a951e3; $custom-light: #c787ed; $custom-dark: #000000;
JSON
{
"hex": "#a951e3",
"rgb": {
"r": 169,
"g": 81,
"b": 227
},
"hsl": {
"h": 276.164,
"s": 72.277,
"l": 60.392
},
"oklch": {
"l": 0.60972,
"c": 0.21736,
"h": 309.1
},
"luminance": 0.19866
}Semantic roles & 50–950 ramp
primary
#A951E3
secondary
#C2E4AC
accent
#D4115F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84