#7E4FDA#7E4FDA
#7E4FDA is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.202 H 294.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FDA |
|---|---|
| RGB | rgb(126, 79, 218) |
| HSL | hsl(260, 65%, 58%) |
| HSV | hsv(260, 64%, 85%) |
| CMYK | cmyk(42.2%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(45.76, 50.07, -64.45) |
| CIE-LCH | lch(45.76, 81.61, 307.84°) |
| OKLab | oklab(55.4% 0.0835 -0.184) |
| OKLCH | oklch(55.4% 0.202 294.4) |
| XYZ | xyz(24.0517, 15.0889, 67.9613) |
| Luminance | 0.1509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.96
Light Indigo
#6D5ACF
ΔE00 4.46
Slate Blue
#6A5ACD
ΔE00 4.97
Bluish Purple
#703BE7
ΔE00 5.11
Purpleish Blue
#6140EF
ΔE00 5.98
Blueviolet
#8A2BE2
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FDA #ABDA4F
analogous
#4F65DA #7E4FDA #C34FDA
triadic
#7E4FDA #DA7E4F #4FDA7E
tetradic
#7E4FDA #DA4F65 #ABDA4F #4FDAC3
square
#7E4FDA #DA4F65 #ABDA4F #4FDAC3
split-complementary
#7E4FDA #DAC34F #65DA4F
monochromatic
#451E90 #5D29C3 #7E4FDA #A382E5 #C8B4EF
Accessibility & contrast
On white
5.23
#7E4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#7E4FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FDA
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FDA | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#656F8D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7e4fda; /* rgb */ color: rgb(126, 79, 218); /* oklch */ color: oklch(55.4% 0.202 294.4);
Tailwind
colors: {
custom: {
50: '#aa83e6',
500: '#7e4fda',
950: '#000000',
},
}SCSS
$custom: #7e4fda; $custom-light: #aa83e6; $custom-dark: #000000;
JSON
{
"hex": "#7e4fda",
"rgb": {
"r": 126,
"g": 79,
"b": 218
},
"hsl": {
"h": 260.288,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.55398,
"c": 0.20206,
"h": 294.4
},
"luminance": 0.1509
}Semantic roles & 50–950 ramp
primary
#7E4FDA
secondary
#CBDEA7
accent
#E840AF
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84