#A951E6#A951E6
#A951E6 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.2% C 0.220 H 308.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A951E6 |
|---|---|
| RGB | rgb(169, 81, 230) |
| HSL | hsl(275, 75%, 61%) |
| HSV | hsv(275, 65%, 90%) |
| CMYK | cmyk(26.5%, 64.8%, 0%, 9.8%) |
| CIE-LAB | lab(51.88, 60.92, -61.12) |
| CIE-LCH | lch(51.88, 86.29, 314.91°) |
| OKLab | oklab(61.17% 0.1368 -0.1728) |
| OKLCH | oklch(61.17% 0.22 308.4) |
| XYZ | xyz(33.5846, 20.0336, 76.9452) |
| Luminance | 0.2003 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.72
Lighter Purple
#A55AF4
ΔE00 3.05
Mediumorchid
#BA55D3
ΔE00 5.16
Purpley
#8756E4
ΔE00 6.13
Neon Purple
#BC13FE
ΔE00 6.19
Electric Purple
#AA23FF
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A951E6 #8EE651
analogous
#5E51E6 #A951E6 #E651D8
triadic
#A951E6 #E6A951 #51E6A9
tetradic
#A951E6 #E65E51 #8EE651 #51D8E6
square
#A951E6 #E65E51 #8EE651 #51D8E6
split-complementary
#A951E6 #D8E651 #51E65E
monochromatic
#6B18A5 #8E1FDA #A951E6 #C387EE #DEBCF5
Accessibility & contrast
On white
4.19
#A951E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#A951E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A951E6
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A951E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A951E6 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#357DE3
Tritanopia (blue-blind)
#A07095
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a951e6; /* rgb */ color: rgb(169, 81, 230); /* oklch */ color: oklch(61.2% 0.220 308.4);
Tailwind
colors: {
custom: {
50: '#c787ef',
500: '#a951e6',
950: '#000000',
},
}SCSS
$custom: #a951e6; $custom-light: #c787ef; $custom-dark: #000000;
JSON
{
"hex": "#a951e6",
"rgb": {
"r": 169,
"g": 81,
"b": 230
},
"hsl": {
"h": 275.436,
"s": 74.874,
"l": 60.98
},
"oklch": {
"l": 0.61169,
"c": 0.22041,
"h": 308.4
},
"luminance": 0.20033
}Semantic roles & 50–950 ramp
primary
#A951E6
secondary
#C4E5AD
accent
#D70E61
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84