#7E4FC0#7E4FC0
#7E4FC0 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.171 H 299.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FC0 |
|---|---|
| RGB | rgb(126, 79, 192) |
| HSL | hsl(265, 47%, 53%) |
| HSV | hsv(265, 59%, 75%) |
| CMYK | cmyk(34.4%, 58.9%, 0%, 24.7%) |
| CIE-LAB | lab(43.99, 43.26, -52.32) |
| CIE-LCH | lch(43.99, 67.89, 309.59°) |
| OKLab | oklab(53.56% 0.085 -0.1483) |
| OKLCH | oklch(53.56% 0.171 299.8) |
| XYZ | xyz(20.9123, 13.8332, 51.4273) |
| Luminance | 0.1383 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.02
Light Indigo
#6D5ACF
ΔE00 5.54
Slate Blue
#6A5ACD
ΔE00 5.84
Purpley
#8756E4
ΔE00 5.97
Deep Lavender
#8D5EB7
ΔE00 6.01
Bluey Purple
#6241C7
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FC0 #91C04F
analogous
#4F58C0 #7E4FC0 #B64FC0
triadic
#7E4FC0 #C07E4F #4FC07E
tetradic
#7E4FC0 #C04F58 #91C04F #4FC0B6
square
#7E4FC0 #C04F58 #91C04F #4FC0B6
split-complementary
#7E4FC0 #C0B64F #58C04F
monochromatic
#44276D #61379A #7E4FC0 #9F7CD0 #C0A9E0
Accessibility & contrast
On white
5.58
#7E4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#7E4FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FC0
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FC0 | 1.00 | 5.58 | 3.77 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1268C4
Deuteranopia (green-blind)
#2B67BD
Tritanopia (blue-blind)
#706680
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7e4fc0; /* rgb */ color: rgb(126, 79, 192); /* oklch */ color: oklch(53.6% 0.171 299.8);
Tailwind
colors: {
custom: {
50: '#a782d4',
500: '#7e4fc0',
950: '#000000',
},
}SCSS
$custom: #7e4fc0; $custom-light: #a782d4; $custom-dark: #000000;
JSON
{
"hex": "#7e4fc0",
"rgb": {
"r": 126,
"g": 79,
"b": 192
},
"hsl": {
"h": 264.956,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.53556,
"c": 0.17096,
"h": 299.8
},
"luminance": 0.13833
}Semantic roles & 50–950 ramp
primary
#7E4FC0
secondary
#B9CE9D
accent
#D7519F
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83