#7E4FEB#7E4FEB
#7E4FEB is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.222 H 291.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FEB |
|---|---|
| RGB | rgb(126, 79, 235) |
| HSL | hsl(258, 80%, 62%) |
| HSV | hsv(258, 66%, 92%) |
| CMYK | cmyk(46.4%, 66.4%, 0%, 7.8%) |
| CIE-LAB | lab(47.01, 54.61, -72.05) |
| CIE-LCH | lch(47.01, 90.41, 307.16°) |
| OKLab | oklab(56.69% 0.0815 -0.2063) |
| OKLCH | oklch(56.69% 0.222 291.6) |
| XYZ | xyz(26.3914, 16.0248, 80.2837) |
| Luminance | 0.1603 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.51
Bluish Purple
#703BE7
ΔE00 5.22
Light Indigo
#6D5ACF
ΔE00 5.34
Purpleish Blue
#6140EF
ΔE00 5.58
Slate Blue
#6A5ACD
ΔE00 5.86
Dark Periwinkle
#665FD1
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FEB #BCEB4F
analogous
#4F6EEB #7E4FEB #CC4FEB
triadic
#7E4FEB #EB7E4F #4FEB7E
tetradic
#7E4FEB #EB4F6E #BCEB4F #4FEBCC
square
#7E4FEB #EB4F6E #BCEB4F #4FEBCC
split-complementary
#7E4FEB #EBCC4F #6EEB4F
monochromatic
#4114AC #561AE3 #7E4FEB #A686F1 #CFBDF7
Accessibility & contrast
On white
4.99
#7E4FEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#7E4FEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FEB
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FEB | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#5C7597
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7e4feb; /* rgb */ color: rgb(126, 79, 235); /* oklch */ color: oklch(56.7% 0.222 291.6);
Tailwind
colors: {
custom: {
50: '#ac83f2',
500: '#7e4feb',
950: '#000000',
},
}SCSS
$custom: #7e4feb; $custom-light: #ac83f2; $custom-dark: #000000;
JSON
{
"hex": "#7e4feb",
"rgb": {
"r": 126,
"g": 79,
"b": 235
},
"hsl": {
"h": 258.077,
"s": 79.592,
"l": 61.569
},
"oklch": {
"l": 0.56692,
"c": 0.22187,
"h": 291.6
},
"luminance": 0.16026
}Semantic roles & 50–950 ramp
primary
#7E4FEB
secondary
#D6E8AE
accent
#DC0A9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85