#7E4DED#7E4DED
#7E4DED is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.227 H 291.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4DED |
|---|---|
| RGB | rgb(126, 77, 237) |
| HSL | hsl(258, 82%, 62%) |
| HSV | hsv(258, 68%, 93%) |
| CMYK | cmyk(46.8%, 67.5%, 0%, 7.1%) |
| CIE-LAB | lab(46.79, 56.18, -73.54) |
| CIE-LCH | lch(46.79, 92.54, 307.38°) |
| OKLab | oklab(56.58% 0.0831 -0.2107) |
| OKLCH | oklch(56.58% 0.227 291.5) |
| XYZ | xyz(26.5398, 15.8568, 81.7667) |
| Luminance | 0.1586 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.89
Bluish Purple
#703BE7
ΔE00 4.89
Purpleish Blue
#6140EF
ΔE00 5.30
Light Indigo
#6D5ACF
ΔE00 5.69
Slate Blue
#6A5ACD
ΔE00 6.19
Blueviolet
#8A2BE2
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4DED #BCED4D
analogous
#4D6CED #7E4DED #CE4DED
triadic
#7E4DED #ED7E4D #4DED7E
tetradic
#7E4DED #ED4D6C #BCED4D #4DEDCE
square
#7E4DED #ED4D6C #BCED4D #4DEDCE
split-complementary
#7E4DED #EDCE4D #6CED4D
monochromatic
#4112AE #5617E6 #7E4DED #A685F3 #CFBCF8
Accessibility & contrast
On white
5.03
#7E4DED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#7E4DED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4DED
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4DED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4DED | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#5B7597
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7e4ded; /* rgb */ color: rgb(126, 77, 237); /* oklch */ color: oklch(56.6% 0.227 291.5);
Tailwind
colors: {
custom: {
50: '#ac82f4',
500: '#7e4ded',
950: '#000000',
},
}SCSS
$custom: #7e4ded; $custom-light: #ac82f4; $custom-dark: #000000;
JSON
{
"hex": "#7e4ded",
"rgb": {
"r": 126,
"g": 77,
"b": 237
},
"hsl": {
"h": 258.375,
"s": 81.633,
"l": 61.569
},
"oklch": {
"l": 0.56582,
"c": 0.22651,
"h": 291.5
},
"luminance": 0.15858
}Semantic roles & 50–950 ramp
primary
#7E4DED
secondary
#D6E9AD
accent
#DE079C
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85