#A651E4#A651E4
#A651E4 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.7% C 0.218 H 307.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A651E4 |
|---|---|
| RGB | rgb(166, 81, 228) |
| HSL | hsl(275, 73%, 61%) |
| HSV | hsv(275, 64%, 89%) |
| CMYK | cmyk(27.2%, 64.5%, 0%, 10.6%) |
| CIE-LAB | lab(51.37, 59.83, -60.81) |
| CIE-LCH | lch(51.37, 85.31, 314.53°) |
| OKLab | oklab(60.69% 0.1331 -0.172) |
| OKLCH | oklch(60.69% 0.218 307.7) |
| XYZ | xyz(32.6690, 19.5937, 75.4447) |
| Luminance | 0.1959 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.43
Lighter Purple
#A55AF4
ΔE00 3.25
Mediumorchid
#BA55D3
ΔE00 5.46
Purpley
#8756E4
ΔE00 5.64
Amethyst
#9B5FC0
ΔE00 6.29
Electric Purple
#AA23FF
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A651E4 #8FE451
analogous
#5C51E4 #A651E4 #E451D8
triadic
#A651E4 #E4A651 #51E4A6
tetradic
#A651E4 #E45C51 #8FE451 #51D8E4
square
#A651E4 #E45C51 #8FE451 #51D8E4
split-complementary
#A651E4 #D8E451 #51E45C
monochromatic
#6819A2 #8A21D7 #A651E4 #C186EC #DCBBF4
Accessibility & contrast
On white
4.27
#A651E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#A651E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A651E4
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A651E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A651E4 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#347BE1
Tritanopia (blue-blind)
#9C7094
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a651e4; /* rgb */ color: rgb(166, 81, 228); /* oklch */ color: oklch(60.7% 0.218 307.7);
Tailwind
colors: {
custom: {
50: '#c587ed',
500: '#a651e4',
950: '#000000',
},
}SCSS
$custom: #a651e4; $custom-light: #c587ed; $custom-dark: #000000;
JSON
{
"hex": "#a651e4",
"rgb": {
"r": 166,
"g": 81,
"b": 228
},
"hsl": {
"h": 274.694,
"s": 73.134,
"l": 60.588
},
"oklch": {
"l": 0.60687,
"c": 0.21752,
"h": 307.7
},
"luminance": 0.19593
}Semantic roles & 50–950 ramp
primary
#A651E4
secondary
#C4E4AC
accent
#D51063
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84