#7E4FC3#7E4FC3
#7E4FC3 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.175 H 299.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FC3 |
|---|---|
| RGB | rgb(126, 79, 195) |
| HSL | hsl(264, 49%, 54%) |
| HSV | hsv(264, 59%, 76%) |
| CMYK | cmyk(35.4%, 59.5%, 0%, 23.5%) |
| CIE-LAB | lab(44.19, 44.03, -53.75) |
| CIE-LCH | lch(44.19, 69.48, 309.32°) |
| OKLab | oklab(53.76% 0.0849 -0.1525) |
| OKLCH | oklch(53.76% 0.175 299.1) |
| XYZ | xyz(21.2481, 13.9675, 53.1957) |
| Luminance | 0.1397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.48
Light Indigo
#6D5ACF
ΔE00 5.25
Purpley
#8756E4
ΔE00 5.55
Slate Blue
#6A5ACD
ΔE00 5.58
Deep Lavender
#8D5EB7
ΔE00 6.22
Bluey Purple
#6241C7
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FC3 #94C34F
analogous
#4F5AC3 #7E4FC3 #B84FC3
triadic
#7E4FC3 #C37E4F #4FC37E
tetradic
#7E4FC3 #C34F5A #94C34F #4FC3B8
square
#7E4FC3 #C34F5A #94C34F #4FC3B8
split-complementary
#7E4FC3 #C3B84F #5AC34F
monochromatic
#452771 #60369F #7E4FC3 #9F7DD3 #C1AAE2
Accessibility & contrast
On white
5.54
#7E4FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#7E4FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FC3
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FC3 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0768C7
Deuteranopia (green-blind)
#2667C0
Tritanopia (blue-blind)
#6F6781
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7e4fc3; /* rgb */ color: rgb(126, 79, 195); /* oklch */ color: oklch(53.8% 0.175 299.1);
Tailwind
colors: {
custom: {
50: '#a882d6',
500: '#7e4fc3',
950: '#000000',
},
}SCSS
$custom: #7e4fc3; $custom-light: #a882d6; $custom-dark: #000000;
JSON
{
"hex": "#7e4fc3",
"rgb": {
"r": 126,
"g": 79,
"b": 195
},
"hsl": {
"h": 264.31,
"s": 49.153,
"l": 53.725
},
"oklch": {
"l": 0.53759,
"c": 0.17459,
"h": 299.1
},
"luminance": 0.13968
}Semantic roles & 50–950 ramp
primary
#7E4FC3
secondary
#BCD09E
accent
#D94FA1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83