#A651E7#A651E7
#A651E7 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.9% C 0.221 H 307.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A651E7 |
|---|---|
| RGB | rgb(166, 81, 231) |
| HSL | hsl(274, 76%, 61%) |
| HSV | hsv(274, 65%, 91%) |
| CMYK | cmyk(28.1%, 64.9%, 0%, 9.4%) |
| CIE-LAB | lab(51.57, 60.50, -62.20) |
| CIE-LCH | lch(51.57, 86.77, 314.21°) |
| OKLab | oklab(60.89% 0.1329 -0.1761) |
| OKLCH | oklch(60.89% 0.221 307) |
| XYZ | xyz(33.0891, 19.7618, 77.6571) |
| Luminance | 0.1976 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.24
Lighter Purple
#A55AF4
ΔE00 2.89
Purpley
#8756E4
ΔE00 5.55
Mediumorchid
#BA55D3
ΔE00 5.73
Electric Purple
#AA23FF
ΔE00 6.18
Neon Purple
#BC13FE
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A651E7 #92E751
analogous
#5B51E7 #A651E7 #E751DD
triadic
#A651E7 #E7A651 #51E7A6
tetradic
#A651E7 #E75B51 #92E751 #51DDE7
square
#A651E7 #E75B51 #92E751 #51DDE7
split-complementary
#A651E7 #DDE751 #51E75B
monochromatic
#6817A7 #8A1EDC #A651E7 #C287EE #DDBDF6
Accessibility & contrast
On white
4.24
#A651E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#A651E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A651E7
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A651E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A651E7 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#2F7CE4
Tritanopia (blue-blind)
#9B7195
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a651e7; /* rgb */ color: rgb(166, 81, 231); /* oklch */ color: oklch(60.9% 0.221 307.0);
Tailwind
colors: {
custom: {
50: '#c587ef',
500: '#a651e7',
950: '#000000',
},
}SCSS
$custom: #a651e7; $custom-light: #c587ef; $custom-dark: #000000;
JSON
{
"hex": "#a651e7",
"rgb": {
"r": 166,
"g": 81,
"b": 231
},
"hsl": {
"h": 274,
"s": 75.758,
"l": 61.176
},
"oklch": {
"l": 0.60887,
"c": 0.22061,
"h": 307
},
"luminance": 0.19761
}Semantic roles & 50–950 ramp
primary
#A651E7
secondary
#C6E6AE
accent
#D80E65
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85