#7E4ADD#7E4ADD
#7E4ADD is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.212 H 294.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4ADD |
|---|---|
| RGB | rgb(126, 74, 221) |
| HSL | hsl(261, 68%, 58%) |
| HSV | hsv(261, 67%, 87%) |
| CMYK | cmyk(43%, 66.5%, 0%, 13.3%) |
| CIE-LAB | lab(45.02, 53.47, -67.36) |
| CIE-LCH | lch(45.02, 86.00, 308.44°) |
| OKLab | oklab(54.93% 0.0884 -0.1925) |
| OKLCH | oklch(54.93% 0.212 294.6) |
| XYZ | xyz(24.1006, 14.5530, 69.9318) |
| Luminance | 0.1455 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.73
Bluish Purple
#703BE7
ΔE00 4.05
Purpleish Blue
#6140EF
ΔE00 5.22
Blueviolet
#8A2BE2
ΔE00 5.24
Light Indigo
#6D5ACF
ΔE00 5.34
Slate Blue
#6A5ACD
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4ADD #A9DD4A
analogous
#4A60DD #7E4ADD #C74ADD
triadic
#7E4ADD #DD7E4A #4ADD7E
tetradic
#7E4ADD #DD4A60 #A9DD4A #4ADDC7
square
#7E4ADD #DD4A60 #A9DD4A #4ADDC7
split-complementary
#7E4ADD #DDC74A #60DD4A
monochromatic
#451B91 #5E25C5 #7E4ADD #A37EE7 #C7B1F0
Accessibility & contrast
On white
5.37
#7E4ADD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#7E4ADD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4ADD
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4ADD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4ADD | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#646D8D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7e4add; /* rgb */ color: rgb(126, 74, 221); /* oklch */ color: oklch(54.9% 0.212 294.6);
Tailwind
colors: {
custom: {
50: '#aa80e9',
500: '#7e4add',
950: '#000000',
},
}SCSS
$custom: #7e4add; $custom-light: #aa80e9; $custom-dark: #000000;
JSON
{
"hex": "#7e4add",
"rgb": {
"r": 126,
"g": 74,
"b": 221
},
"hsl": {
"h": 261.224,
"s": 68.372,
"l": 57.843
},
"oklch": {
"l": 0.54934,
"c": 0.21184,
"h": 294.6
},
"luminance": 0.14554
}Semantic roles & 50–950 ramp
primary
#7E4ADD
secondary
#CADFA4
accent
#EB3DAD
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84