#7E4EFF#7E4EFF
#7E4EFF is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.2% C 0.246 H 288.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4EFF |
|---|---|
| RGB | rgb(126, 78, 255) |
| HSL | hsl(256, 100%, 65%) |
| HSV | hsv(256, 69%, 100%) |
| CMYK | cmyk(50.6%, 69.4%, 0%, 0%) |
| CIE-LAB | lab(48.39, 60.50, -80.99) |
| CIE-LCH | lch(48.39, 101.09, 306.76°) |
| OKLab | oklab(58.17% 0.0792 -0.2326) |
| OKLCH | oklch(58.17% 0.246 288.8) |
| XYZ | xyz(29.3733, 17.1031, 96.3419) |
| Luminance | 0.1710 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.93
Purpleish Blue
#6140EF
ΔE00 6.28
Bluish Purple
#703BE7
ΔE00 6.40
Mediumslateblue
#7B68EE
ΔE00 6.61
Light Indigo
#6D5ACF
ΔE00 7.16
Lighter Purple
#A55AF4
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4EFF #CFFF4E
analogous
#4E77FF #7E4EFF #D64EFF
triadic
#7E4EFF #FF7E4E #4EFF7E
tetradic
#7E4EFF #FF4E77 #CFFF4E #4EFFD6
square
#7E4EFF #FF4E77 #CFFF4E #4EFFD6
split-complementary
#7E4EFF #FFD64E #77FF4E
monochromatic
#3900D3 #5111FF #7E4EFF #AB8BFF #D7C8FF
Accessibility & contrast
On white
4.75
#7E4EFF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#7E4EFF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4EFF
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4EFF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4EFF | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#006EFC
Tritanopia (blue-blind)
#4F7CA1
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7e4eff; /* rgb */ color: rgb(126, 78, 255); /* oklch */ color: oklch(58.2% 0.246 288.8);
Tailwind
colors: {
custom: {
50: '#ae83ff',
500: '#7e4eff',
950: '#000000',
},
}SCSS
$custom: #7e4eff; $custom-light: #ae83ff; $custom-dark: #000000;
JSON
{
"hex": "#7e4eff",
"rgb": {
"r": 126,
"g": 78,
"b": 255
},
"hsl": {
"h": 256.271,
"s": 100,
"l": 65.294
},
"oklch": {
"l": 0.58167,
"c": 0.24569,
"h": 288.8
},
"luminance": 0.17104
}Semantic roles & 50–950 ramp
primary
#7E4EFF
secondary
#E2F2B7
accent
#E600A7
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#120B18
muted
#817C86