#7E4FDD#7E4FDD
#7E4FDD is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.6% C 0.206 H 293.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FDD |
|---|---|
| RGB | rgb(126, 79, 221) |
| HSL | hsl(260, 68%, 59%) |
| HSV | hsv(260, 64%, 87%) |
| CMYK | cmyk(43%, 64.3%, 0%, 13.3%) |
| CIE-LAB | lab(45.97, 50.87, -65.81) |
| CIE-LCH | lch(45.97, 83.17, 307.70°) |
| OKLab | oklab(55.62% 0.0832 -0.188) |
| OKLCH | oklch(55.62% 0.206 293.9) |
| XYZ | xyz(24.4478, 15.2474, 70.0475) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.75
Light Indigo
#6D5ACF
ΔE00 4.54
Bluish Purple
#703BE7
ΔE00 5.04
Slate Blue
#6A5ACD
ΔE00 5.06
Purpleish Blue
#6140EF
ΔE00 5.83
Blueviolet
#8A2BE2
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FDD #AEDD4F
analogous
#4F67DD #7E4FDD #C54FDD
triadic
#7E4FDD #DD7E4F #4FDD7E
tetradic
#7E4FDD #DD4F67 #AEDD4F #4FDDC5
square
#7E4FDD #DD4F67 #AEDD4F #4FDDC5
split-complementary
#7E4FDD #DDC54F #67DD4F
monochromatic
#451D95 #5C27C8 #7E4FDD #A482E7 #C9B6F1
Accessibility & contrast
On white
5.19
#7E4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#7E4FDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FDD
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FDD | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#64708F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7e4fdd; /* rgb */ color: rgb(126, 79, 221); /* oklch */ color: oklch(55.6% 0.206 293.9);
Tailwind
colors: {
custom: {
50: '#aa83e8',
500: '#7e4fdd',
950: '#000000',
},
}SCSS
$custom: #7e4fdd; $custom-light: #aa83e8; $custom-dark: #000000;
JSON
{
"hex": "#7e4fdd",
"rgb": {
"r": 126,
"g": 79,
"b": 221
},
"hsl": {
"h": 259.859,
"s": 67.619,
"l": 58.824
},
"oklch": {
"l": 0.55622,
"c": 0.20559,
"h": 293.9
},
"luminance": 0.15248
}Semantic roles & 50–950 ramp
primary
#7E4FDD
secondary
#CDE0A8
accent
#EA3DB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84