#7E4FD2#7E4FD2
#7E4FD2 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.8% C 0.193 H 295.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FD2 |
|---|---|
| RGB | rgb(126, 79, 210) |
| HSL | hsl(262, 59%, 57%) |
| HSV | hsv(262, 62%, 82%) |
| CMYK | cmyk(40%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(45.19, 47.95, -60.78) |
| CIE-LCH | lch(45.19, 77.42, 308.27°) |
| OKLab | oklab(54.81% 0.0842 -0.1732) |
| OKLCH | oklch(54.81% 0.193 295.9) |
| XYZ | xyz(23.0300, 14.6803, 62.5805) |
| Luminance | 0.1468 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.69
Light Indigo
#6D5ACF
ΔE00 4.44
Slate Blue
#6A5ACD
ΔE00 4.91
Bluish Purple
#703BE7
ΔE00 5.50
Iris
#6258C4
ΔE00 6.14
Bluey Purple
#6241C7
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FD2 #A3D24F
analogous
#4F62D2 #7E4FD2 #C04FD2
triadic
#7E4FD2 #D27E4F #4FD27E
tetradic
#7E4FD2 #D24F62 #A3D24F #4FD2C0
square
#7E4FD2 #D24F62 #A3D24F #4FD2C0
split-complementary
#7E4FD2 #D2C04F #62D24F
monochromatic
#452285 #5F2EB5 #7E4FD2 #A280DE #C5B0EB
Accessibility & contrast
On white
5.34
#7E4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#7E4FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FD2
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FD2 | 1.00 | 5.34 | 3.94 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#696D89
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7e4fd2; /* rgb */ color: rgb(126, 79, 210); /* oklch */ color: oklch(54.8% 0.193 295.9);
Tailwind
colors: {
custom: {
50: '#a983e1',
500: '#7e4fd2',
950: '#000000',
},
}SCSS
$custom: #7e4fd2; $custom-light: #a983e1; $custom-dark: #000000;
JSON
{
"hex": "#7e4fd2",
"rgb": {
"r": 126,
"g": 79,
"b": 210
},
"hsl": {
"h": 261.527,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.54813,
"c": 0.19259,
"h": 295.9
},
"luminance": 0.14681
}Semantic roles & 50–950 ramp
primary
#7E4FD2
secondary
#C6D9A4
accent
#E245AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83