#7E4FC2#7E4FC2
#7E4FC2 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.173 H 299.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FC2 |
|---|---|
| RGB | rgb(126, 79, 194) |
| HSL | hsl(265, 49%, 54%) |
| HSV | hsv(265, 59%, 76%) |
| CMYK | cmyk(35.1%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(44.12, 43.78, -53.27) |
| CIE-LCH | lch(44.12, 68.95, 309.41°) |
| OKLab | oklab(53.69% 0.085 -0.1511) |
| OKLCH | oklch(53.69% 0.173 299.3) |
| XYZ | xyz(21.1354, 13.9224, 52.6023) |
| Luminance | 0.1392 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.33
Light Indigo
#6D5ACF
ΔE00 5.34
Slate Blue
#6A5ACD
ΔE00 5.67
Purpley
#8756E4
ΔE00 5.69
Deep Lavender
#8D5EB7
ΔE00 6.15
Bluey Purple
#6241C7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FC2 #93C24F
analogous
#4F59C2 #7E4FC2 #B74FC2
triadic
#7E4FC2 #C27E4F #4FC27E
tetradic
#7E4FC2 #C24F59 #93C24F #4FC2B7
square
#7E4FC2 #C24F59 #93C24F #4FC2B7
split-complementary
#7E4FC2 #C2B74F #59C24F
monochromatic
#452770 #61379D #7E4FC2 #9F7CD2 #C1AAE2
Accessibility & contrast
On white
5.55
#7E4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#7E4FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FC2
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FC2 | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C68C6
Deuteranopia (green-blind)
#2867BF
Tritanopia (blue-blind)
#6F6781
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7e4fc2; /* rgb */ color: rgb(126, 79, 194); /* oklch */ color: oklch(53.7% 0.173 299.3);
Tailwind
colors: {
custom: {
50: '#a882d5',
500: '#7e4fc2',
950: '#000000',
},
}SCSS
$custom: #7e4fc2; $custom-light: #a882d5; $custom-dark: #000000;
JSON
{
"hex": "#7e4fc2",
"rgb": {
"r": 126,
"g": 79,
"b": 194
},
"hsl": {
"h": 264.522,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.53691,
"c": 0.17338,
"h": 299.3
},
"luminance": 0.13923
}Semantic roles & 50–950 ramp
primary
#7E4FC2
secondary
#BBCF9E
accent
#D850A0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83