#7E49E4#7E49E4
#7E49E4 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.221 H 293.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7E49E4 |
|---|---|
| RGB | rgb(126, 73, 228) |
| HSL | hsl(261, 74%, 59%) |
| HSV | hsv(261, 68%, 89%) |
| CMYK | cmyk(44.7%, 68%, 0%, 10.6%) |
| CIE-LAB | lab(45.36, 55.81, -70.78) |
| CIE-LCH | lch(45.36, 90.14, 308.26°) |
| OKLab | oklab(55.35% 0.0883 -0.2026) |
| OKLCH | oklch(55.35% 0.221 293.6) |
| XYZ | xyz(24.9865, 14.8014, 74.9242) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.65
Bluish Purple
#703BE7
ΔE00 3.82
Purpleish Blue
#6140EF
ΔE00 4.83
Blueviolet
#8A2BE2
ΔE00 5.21
Light Indigo
#6D5ACF
ΔE00 5.70
Burple
#6832E3
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E49E4 #AFE449
analogous
#4962E4 #7E49E4 #CC49E4
triadic
#7E49E4 #E47E49 #49E47E
tetradic
#7E49E4 #E44962 #AFE449 #49E4CC
square
#7E49E4 #E44962 #AFE449 #49E4CC
split-complementary
#7E49E4 #E4CC49 #62E449
monochromatic
#44179C #5C1FD1 #7E49E4 #A47EEC #CAB4F4
Accessibility & contrast
On white
5.30
#7E49E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#7E49E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E49E4
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E49E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E49E4 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#606F91
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7e49e4; /* rgb */ color: rgb(126, 73, 228); /* oklch */ color: oklch(55.3% 0.221 293.6);
Tailwind
colors: {
custom: {
50: '#ab7fee',
500: '#7e49e4',
950: '#000000',
},
}SCSS
$custom: #7e49e4; $custom-light: #ab7fee; $custom-dark: #000000;
JSON
{
"hex": "#7e49e4",
"rgb": {
"r": 126,
"g": 73,
"b": 228
},
"hsl": {
"h": 260.516,
"s": 74.163,
"l": 59.02
},
"oklch": {
"l": 0.55347,
"c": 0.22099,
"h": 293.6
},
"luminance": 0.14802
}Semantic roles & 50–950 ramp
primary
#7E49E4
secondary
#CEE3A6
accent
#F137B1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84