#A351E7#A351E7
#A351E7 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.220 H 305.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A351E7 |
|---|---|
| RGB | rgb(163, 81, 231) |
| HSL | hsl(273, 76%, 61%) |
| HSV | hsv(273, 65%, 91%) |
| CMYK | cmyk(29.4%, 64.9%, 0%, 9.4%) |
| CIE-LAB | lab(51.20, 59.87, -62.81) |
| CIE-LCH | lch(51.20, 86.77, 313.63°) |
| OKLab | oklab(60.54% 0.1291 -0.178) |
| OKLCH | oklch(60.54% 0.22 305.9) |
| XYZ | xyz(32.4674, 19.4412, 77.6279) |
| Luminance | 0.1944 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.51
Lighter Purple
#A55AF4
ΔE00 2.97
Purpley
#8756E4
ΔE00 5.01
Electric Purple
#AA23FF
ΔE00 6.04
Mediumorchid
#BA55D3
ΔE00 6.21
Neon Purple
#BC13FE
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A351E7 #95E751
analogous
#5851E7 #A351E7 #E751E0
triadic
#A351E7 #E7A351 #51E7A3
tetradic
#A351E7 #E75851 #95E751 #51E0E7
square
#A351E7 #E75851 #95E751 #51E0E7
split-complementary
#A351E7 #E0E751 #51E758
monochromatic
#6617A7 #861EDC #A351E7 #BF87EE #DCBDF6
Accessibility & contrast
On white
4.30
#A351E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#A351E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A351E7
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A351E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A351E7 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#2A7AE4
Tritanopia (blue-blind)
#977195
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a351e7; /* rgb */ color: rgb(163, 81, 231); /* oklch */ color: oklch(60.5% 0.220 305.9);
Tailwind
colors: {
custom: {
50: '#c387ef',
500: '#a351e7',
950: '#000000',
},
}SCSS
$custom: #a351e7; $custom-light: #c387ef; $custom-dark: #000000;
JSON
{
"hex": "#a351e7",
"rgb": {
"r": 163,
"g": 81,
"b": 231
},
"hsl": {
"h": 272.8,
"s": 75.758,
"l": 61.176
},
"oklch": {
"l": 0.60543,
"c": 0.21984,
"h": 305.9
},
"luminance": 0.19441
}Semantic roles & 50–950 ramp
primary
#A351E7
secondary
#C7E6AE
accent
#D80E69
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85