#7E4AED#7E4AED
#7E4AED is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.230 H 291.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4AED |
|---|---|
| RGB | rgb(126, 74, 237) |
| HSL | hsl(259, 82%, 61%) |
| HSV | hsv(259, 69%, 93%) |
| CMYK | cmyk(46.8%, 68.8%, 0%, 7.1%) |
| CIE-LAB | lab(46.24, 57.69, -74.43) |
| CIE-LCH | lch(46.24, 94.17, 307.78°) |
| OKLab | oklab(56.19% 0.0859 -0.2133) |
| OKLCH | oklch(56.19% 0.23 291.9) |
| XYZ | xyz(26.3347, 15.4467, 81.6983) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.41
Bluish Purple
#703BE7
ΔE00 4.30
Purpleish Blue
#6140EF
ΔE00 4.89
Blueviolet
#8A2BE2
ΔE00 5.86
Light Indigo
#6D5ACF
ΔE00 6.02
Slate Blue
#6A5ACD
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4AED #B9ED4A
analogous
#4A67ED #7E4AED #CF4AED
triadic
#7E4AED #ED7E4A #4AED7E
tetradic
#7E4AED #ED4A67 #B9ED4A #4AEDCF
square
#7E4AED #ED4A67 #B9ED4A #4AEDCF
split-complementary
#7E4AED #EDCF4A #67ED4A
monochromatic
#4211AC #5817E3 #7E4AED #A682F3 #CDB9F8
Accessibility & contrast
On white
5.13
#7E4AED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#7E4AED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4AED
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4AED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4AED | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#006AEA
Tritanopia (blue-blind)
#5B7396
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7e4aed; /* rgb */ color: rgb(126, 74, 237); /* oklch */ color: oklch(56.2% 0.230 291.9);
Tailwind
colors: {
custom: {
50: '#ac80f4',
500: '#7e4aed',
950: '#000000',
},
}SCSS
$custom: #7e4aed; $custom-light: #ac80f4; $custom-dark: #000000;
JSON
{
"hex": "#7e4aed",
"rgb": {
"r": 126,
"g": 74,
"b": 237
},
"hsl": {
"h": 259.141,
"s": 81.91,
"l": 60.98
},
"oklch": {
"l": 0.56192,
"c": 0.22996,
"h": 291.9
},
"luminance": 0.15448
}Semantic roles & 50–950 ramp
primary
#7E4AED
secondary
#D5E8AB
accent
#DE079A
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110A17
muted
#807C85