#7E4FD5#7E4FD5
#7E4FD5 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.196 H 295.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FD5 |
|---|---|
| RGB | rgb(126, 79, 213) |
| HSL | hsl(261, 61%, 57%) |
| HSV | hsv(261, 63%, 84%) |
| CMYK | cmyk(40.8%, 62.9%, 0%, 16.5%) |
| CIE-LAB | lab(45.40, 48.74, -62.16) |
| CIE-LCH | lch(45.40, 78.99, 308.10°) |
| OKLab | oklab(55.03% 0.084 -0.1773) |
| OKLCH | oklch(55.03% 0.196 295.3) |
| XYZ | xyz(23.4072, 14.8312, 64.5673) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.39
Light Indigo
#6D5ACF
ΔE00 4.41
Slate Blue
#6A5ACD
ΔE00 4.90
Bluish Purple
#703BE7
ΔE00 5.32
Iris
#6258C4
ΔE00 6.21
Purpleish Blue
#6140EF
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FD5 #A6D54F
analogous
#4F63D5 #7E4FD5 #C14FD5
triadic
#7E4FD5 #D57E4F #4FD57E
tetradic
#7E4FD5 #D54F63 #A6D54F #4FD5C1
square
#7E4FD5 #D54F63 #A6D54F #4FD5C1
split-complementary
#7E4FD5 #D5C14F #63D54F
monochromatic
#452189 #5E2CBA #7E4FD5 #A280E1 #C6B2ED
Accessibility & contrast
On white
5.29
#7E4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#7E4FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FD5
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FD5 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#676E8B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7e4fd5; /* rgb */ color: rgb(126, 79, 213); /* oklch */ color: oklch(55.0% 0.196 295.3);
Tailwind
colors: {
custom: {
50: '#a983e3',
500: '#7e4fd5',
950: '#000000',
},
}SCSS
$custom: #7e4fd5; $custom-light: #a983e3; $custom-dark: #000000;
JSON
{
"hex": "#7e4fd5",
"rgb": {
"r": 126,
"g": 79,
"b": 213
},
"hsl": {
"h": 261.045,
"s": 61.468,
"l": 57.255
},
"oklch": {
"l": 0.55031,
"c": 0.19615,
"h": 295.3
},
"luminance": 0.14832
}Semantic roles & 50–950 ramp
primary
#7E4FD5
secondary
#C8DBA5
accent
#E543AC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84