#7E4FE0#7E4FE0
#7E4FE0 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.209 H 293.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FE0 |
|---|---|
| RGB | rgb(126, 79, 224) |
| HSL | hsl(259, 70%, 59%) |
| HSV | hsv(259, 65%, 88%) |
| CMYK | cmyk(43.7%, 64.7%, 0%, 12.2%) |
| CIE-LAB | lab(46.19, 51.67, -67.16) |
| CIE-LCH | lch(46.19, 84.73, 307.57°) |
| OKLab | oklab(55.85% 0.0829 -0.192) |
| OKLCH | oklch(55.85% 0.209 293.4) |
| XYZ | xyz(24.8510, 15.4087, 72.1714) |
| Luminance | 0.1541 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.60
Light Indigo
#6D5ACF
ΔE00 4.66
Bluish Purple
#703BE7
ΔE00 5.00
Slate Blue
#6A5ACD
ΔE00 5.18
Purpleish Blue
#6140EF
ΔE00 5.71
Blueviolet
#8A2BE2
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FE0 #B1E04F
analogous
#4F69E0 #7E4FE0 #C64FE0
triadic
#7E4FE0 #E07E4F #4FE07E
tetradic
#7E4FE0 #E04F69 #B1E04F #4FE0C6
square
#7E4FE0 #E04F69 #B1E04F #4FE0C6
split-complementary
#7E4FE0 #E0C64F #69E04F
monochromatic
#441B9A #5B24CE #7E4FE0 #A483E9 #CAB7F2
Accessibility & contrast
On white
5.14
#7E4FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#7E4FE0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FE0
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FE0 | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#006BDD
Tritanopia (blue-blind)
#627191
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7e4fe0; /* rgb */ color: rgb(126, 79, 224); /* oklch */ color: oklch(55.8% 0.209 293.4);
Tailwind
colors: {
custom: {
50: '#aa83eb',
500: '#7e4fe0',
950: '#000000',
},
}SCSS
$custom: #7e4fe0; $custom-light: #aa83eb; $custom-dark: #000000;
JSON
{
"hex": "#7e4fe0",
"rgb": {
"r": 126,
"g": 79,
"b": 224
},
"hsl": {
"h": 259.448,
"s": 70.048,
"l": 59.412
},
"oklch": {
"l": 0.55847,
"c": 0.2091,
"h": 293.4
},
"luminance": 0.15409
}Semantic roles & 50–950 ramp
primary
#7E4FE0
secondary
#CFE2A9
accent
#ED3BB3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84