#7E4FE6#7E4FE6
#7E4FE6 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.216 H 292.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FE6 |
|---|---|
| RGB | rgb(126, 79, 230) |
| HSL | hsl(259, 75%, 61%) |
| HSV | hsv(259, 66%, 90%) |
| CMYK | cmyk(45.2%, 65.7%, 0%, 9.8%) |
| CIE-LAB | lab(46.63, 53.27, -69.84) |
| CIE-LCH | lch(46.63, 87.84, 307.34°) |
| OKLab | oklab(56.31% 0.0822 -0.1998) |
| OKLCH | oklch(56.31% 0.216 292.4) |
| XYZ | xyz(25.6791, 15.7399, 76.5327) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.45
Light Indigo
#6D5ACF
ΔE00 4.99
Bluish Purple
#703BE7
ΔE00 5.06
Slate Blue
#6A5ACD
ΔE00 5.51
Purpleish Blue
#6140EF
ΔE00 5.58
Blueviolet
#8A2BE2
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FE6 #B7E64F
analogous
#4F6CE6 #7E4FE6 #C94FE6
triadic
#7E4FE6 #E67E4F #4FE67E
tetradic
#7E4FE6 #E64F6C #B7E64F #4FE6C9
square
#7E4FE6 #E64F6C #B7E64F #4FE6C9
split-complementary
#7E4FE6 #E6C94F #6CE64F
monochromatic
#4317A3 #591FD9 #7E4FE6 #A585EE #CDBAF5
Accessibility & contrast
On white
5.06
#7E4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#7E4FE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FE6
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FE6 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#006CE3
Tritanopia (blue-blind)
#5F7494
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7e4fe6; /* rgb */ color: rgb(126, 79, 230); /* oklch */ color: oklch(56.3% 0.216 292.4);
Tailwind
colors: {
custom: {
50: '#ab83ef',
500: '#7e4fe6',
950: '#000000',
},
}SCSS
$custom: #7e4fe6; $custom-light: #ab83ef; $custom-dark: #000000;
JSON
{
"hex": "#7e4fe6",
"rgb": {
"r": 126,
"g": 79,
"b": 230
},
"hsl": {
"h": 258.675,
"s": 75.124,
"l": 60.588
},
"oklch": {
"l": 0.56305,
"c": 0.21609,
"h": 292.4
},
"luminance": 0.15741
}Semantic roles & 50–950 ramp
primary
#7E4FE6
secondary
#D3E5AC
accent
#D70E99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85