#7E4FBF#7E4FBF
#7E4FBF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.170 H 300.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FBF |
|---|---|
| RGB | rgb(126, 79, 191) |
| HSL | hsl(265, 47%, 53%) |
| HSV | hsv(265, 59%, 75%) |
| CMYK | cmyk(34%, 58.6%, 0%, 25.1%) |
| CIE-LAB | lab(43.93, 43.00, -51.84) |
| CIE-LCH | lch(43.93, 67.36, 309.68°) |
| OKLab | oklab(53.49% 0.085 -0.1469) |
| OKLCH | oklch(53.49% 0.17 300) |
| XYZ | xyz(20.8019, 13.7890, 50.8457) |
| Luminance | 0.1379 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.87
Light Indigo
#6D5ACF
ΔE00 5.64
Slate Blue
#6A5ACD
ΔE00 5.93
Deep Lavender
#8D5EB7
ΔE00 5.94
Purpley
#8756E4
ΔE00 6.11
Bluey Purple
#6241C7
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FBF #90BF4F
analogous
#4F58BF #7E4FBF #B64FBF
triadic
#7E4FBF #BF7E4F #4FBF7E
tetradic
#7E4FBF #BF4F58 #90BF4F #4FBFB6
square
#7E4FBF #BF4F58 #90BF4F #4FBFB6
split-complementary
#7E4FBF #BFB64F #58BF4F
monochromatic
#44276C #613899 #7E4FBF #9F7CCF #C0A9E0
Accessibility & contrast
On white
5.59
#7E4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#7E4FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FBF
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FBF | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#2C67BC
Tritanopia (blue-blind)
#70667F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7e4fbf; /* rgb */ color: rgb(126, 79, 191); /* oklch */ color: oklch(53.5% 0.170 300.0);
Tailwind
colors: {
custom: {
50: '#a782d3',
500: '#7e4fbf',
950: '#000000',
},
}SCSS
$custom: #7e4fbf; $custom-light: #a782d3; $custom-dark: #000000;
JSON
{
"hex": "#7e4fbf",
"rgb": {
"r": 126,
"g": 79,
"b": 191
},
"hsl": {
"h": 265.179,
"s": 46.667,
"l": 52.941
},
"oklch": {
"l": 0.53489,
"c": 0.16975,
"h": 300
},
"luminance": 0.13789
}Semantic roles & 50–950 ramp
primary
#7E4FBF
secondary
#B9CD9D
accent
#D6519F
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83