#7E4FE9#7E4FE9
#7E4FE9 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.220 H 291.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FE9 |
|---|---|
| RGB | rgb(126, 79, 233) |
| HSL | hsl(258, 78%, 61%) |
| HSV | hsv(258, 66%, 91%) |
| CMYK | cmyk(45.9%, 66.1%, 0%, 8.6%) |
| CIE-LAB | lab(46.86, 54.08, -71.17) |
| CIE-LCH | lch(46.86, 89.38, 307.23°) |
| OKLab | oklab(56.54% 0.0818 -0.2038) |
| OKLCH | oklch(56.54% 0.22 291.9) |
| XYZ | xyz(26.1040, 15.9099, 78.7705) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.47
Bluish Purple
#703BE7
ΔE00 5.14
Light Indigo
#6D5ACF
ΔE00 5.19
Purpleish Blue
#6140EF
ΔE00 5.57
Slate Blue
#6A5ACD
ΔE00 5.71
Blueviolet
#8A2BE2
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FE9 #BAE94F
analogous
#4F6DE9 #7E4FE9 #CB4FE9
triadic
#7E4FE9 #E97E4F #4FE97E
tetradic
#7E4FE9 #E94F6D #BAE94F #4FE9CB
square
#7E4FE9 #E94F6D #BAE94F #4FE9CB
split-complementary
#7E4FE9 #E9CB4F #6DE94F
monochromatic
#4215A9 #571CDF #7E4FE9 #A685F0 #CEBCF7
Accessibility & contrast
On white
5.02
#7E4FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#7E4FE9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FE9
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FE9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FE9 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#006CE6
Tritanopia (blue-blind)
#5D7595
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7e4fe9; /* rgb */ color: rgb(126, 79, 233); /* oklch */ color: oklch(56.5% 0.220 291.9);
Tailwind
colors: {
custom: {
50: '#ab83f1',
500: '#7e4fe9',
950: '#000000',
},
}SCSS
$custom: #7e4fe9; $custom-light: #ab83f1; $custom-dark: #000000;
JSON
{
"hex": "#7e4fe9",
"rgb": {
"r": 126,
"g": 79,
"b": 233
},
"hsl": {
"h": 258.312,
"s": 77.778,
"l": 61.176
},
"oklch": {
"l": 0.56537,
"c": 0.21956,
"h": 291.9
},
"luminance": 0.15911
}Semantic roles & 50–950 ramp
primary
#7E4FE9
secondary
#D5E7AD
accent
#DA0B9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85