#7E4FC7#7E4FC7
#7E4FC7 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.179 H 298.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FC7 |
|---|---|
| RGB | rgb(126, 79, 199) |
| HSL | hsl(264, 52%, 55%) |
| HSV | hsv(264, 60%, 78%) |
| CMYK | cmyk(36.7%, 60.3%, 0%, 22%) |
| CIE-LAB | lab(44.45, 45.07, -55.65) |
| CIE-LCH | lch(44.45, 71.61, 309.01°) |
| OKLab | oklab(54.04% 0.0848 -0.1581) |
| OKLCH | oklch(54.04% 0.179 298.2) |
| XYZ | xyz(21.7064, 14.1508, 55.6095) |
| Luminance | 0.1415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.93
Purpley
#8756E4
ΔE00 5.01
Royal Purple
#7851A9
ΔE00 5.09
Slate Blue
#6A5ACD
ΔE00 5.30
Bluey Purple
#6241C7
ΔE00 6.16
Iris
#6258C4
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FC7 #98C74F
analogous
#4F5CC7 #7E4FC7 #BA4FC7
triadic
#7E4FC7 #C77E4F #4FC77E
tetradic
#7E4FC7 #C74F5C #98C74F #4FC7BA
square
#7E4FC7 #C74F5C #98C74F #4FC7BA
split-complementary
#7E4FC7 #C7BA4F #5CC74F
monochromatic
#452676 #6034A4 #7E4FC7 #A07DD6 #C2ACE5
Accessibility & contrast
On white
5.48
#7E4FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#7E4FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FC7
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FC7 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#1F68C4
Tritanopia (blue-blind)
#6D6983
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7e4fc7; /* rgb */ color: rgb(126, 79, 199); /* oklch */ color: oklch(54.0% 0.179 298.2);
Tailwind
colors: {
custom: {
50: '#a882d9',
500: '#7e4fc7',
950: '#000000',
},
}SCSS
$custom: #7e4fc7; $custom-light: #a882d9; $custom-dark: #000000;
JSON
{
"hex": "#7e4fc7",
"rgb": {
"r": 126,
"g": 79,
"b": 199
},
"hsl": {
"h": 263.5,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.54035,
"c": 0.17942,
"h": 298.2
},
"luminance": 0.14151
}Semantic roles & 50–950 ramp
primary
#7E4FC7
secondary
#BED2A0
accent
#DB4DA3
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B15
muted
#7F7C83