#7E4FBD#7E4FBD
#7E4FBD is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.167 H 300.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FBD |
|---|---|
| RGB | rgb(126, 79, 189) |
| HSL | hsl(266, 45%, 53%) |
| HSV | hsv(266, 58%, 74%) |
| CMYK | cmyk(33.3%, 58.2%, 0%, 25.9%) |
| CIE-LAB | lab(43.80, 42.49, -50.88) |
| CIE-LCH | lch(43.80, 66.29, 309.87°) |
| OKLab | oklab(53.36% 0.085 -0.1441) |
| OKLCH | oklch(53.36% 0.167 300.5) |
| XYZ | xyz(20.5833, 13.7016, 49.6945) |
| Luminance | 0.1370 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.56
Deep Lavender
#8D5EB7
ΔE00 5.82
Light Indigo
#6D5ACF
ΔE00 5.85
Slate Blue
#6A5ACD
ΔE00 6.13
Purpley
#8756E4
ΔE00 6.41
Bluey Purple
#6241C7
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FBD #8EBD4F
analogous
#4F57BD #7E4FBD #B54FBD
triadic
#7E4FBD #BD7E4F #4FBD7E
tetradic
#7E4FBD #BD4F57 #8EBD4F #4FBDB5
square
#7E4FBD #BD4F57 #8EBD4F #4FBDB5
split-complementary
#7E4FBD #BDB54F #57BD4F
monochromatic
#44286A #613896 #7E4FBD #9F7CCE #BFA8DE
Accessibility & contrast
On white
5.61
#7E4FBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#7E4FBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FBD
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FBD | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1967C1
Deuteranopia (green-blind)
#2F67BA
Tritanopia (blue-blind)
#71667E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7e4fbd; /* rgb */ color: rgb(126, 79, 189); /* oklch */ color: oklch(53.4% 0.167 300.5);
Tailwind
colors: {
custom: {
50: '#a782d1',
500: '#7e4fbd',
950: '#000000',
},
}SCSS
$custom: #7e4fbd; $custom-light: #a782d1; $custom-dark: #000000;
JSON
{
"hex": "#7e4fbd",
"rgb": {
"r": 126,
"g": 79,
"b": 189
},
"hsl": {
"h": 265.636,
"s": 45.455,
"l": 52.549
},
"oklch": {
"l": 0.53355,
"c": 0.16732,
"h": 300.5
},
"luminance": 0.13702
}Semantic roles & 50–950 ramp
primary
#7E4FBD
secondary
#B7CC9C
accent
#D5539D
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82