#A351E4#A351E4
#A351E4 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.3% C 0.217 H 306.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A351E4 |
|---|---|
| RGB | rgb(163, 81, 228) |
| HSL | hsl(273, 73%, 61%) |
| HSV | hsv(273, 64%, 89%) |
| CMYK | cmyk(28.5%, 64.5%, 0%, 10.6%) |
| CIE-LAB | lab(51.01, 59.19, -61.43) |
| CIE-LCH | lch(51.01, 85.31, 313.94°) |
| OKLab | oklab(60.34% 0.1293 -0.1739) |
| OKLCH | oklch(60.34% 0.217 306.6) |
| XYZ | xyz(32.0473, 19.2732, 75.4156) |
| Luminance | 0.1927 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.55
Lighter Purple
#A55AF4
ΔE00 3.30
Purpley
#8756E4
ΔE00 5.09
Mediumorchid
#BA55D3
ΔE00 5.97
Electric Purple
#AA23FF
ΔE00 6.17
Amethyst
#9B5FC0
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A351E4 #92E451
analogous
#5951E4 #A351E4 #E451DC
triadic
#A351E4 #E4A351 #51E4A3
tetradic
#A351E4 #E45951 #92E451 #51DCE4
square
#A351E4 #E45951 #92E451 #51DCE4
split-complementary
#A351E4 #DCE451 #51E459
monochromatic
#6519A2 #8621D7 #A351E4 #BF86EC #DBBBF4
Accessibility & contrast
On white
4.33
#A351E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#A351E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A351E4
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A351E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A351E4 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#2F7AE1
Tritanopia (blue-blind)
#987094
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #a351e4; /* rgb */ color: rgb(163, 81, 228); /* oklch */ color: oklch(60.3% 0.217 306.6);
Tailwind
colors: {
custom: {
50: '#c387ed',
500: '#a351e4',
950: '#000000',
},
}SCSS
$custom: #a351e4; $custom-light: #c387ed; $custom-dark: #000000;
JSON
{
"hex": "#a351e4",
"rgb": {
"r": 163,
"g": 81,
"b": 228
},
"hsl": {
"h": 273.469,
"s": 73.134,
"l": 60.588
},
"oklch": {
"l": 0.60341,
"c": 0.21672,
"h": 306.6
},
"luminance": 0.19273
}Semantic roles & 50–950 ramp
primary
#A351E4
secondary
#C5E4AC
accent
#D51067
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84