#7E4FBB#7E4FBB
#7E4FBB is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.2% C 0.165 H 301.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4FBB |
|---|---|
| RGB | rgb(126, 79, 187) |
| HSL | hsl(266, 44%, 52%) |
| HSV | hsv(266, 58%, 73%) |
| CMYK | cmyk(32.6%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(43.68, 41.98, -49.91) |
| CIE-LCH | lch(43.68, 65.22, 310.07°) |
| OKLab | oklab(53.22% 0.085 -0.1413) |
| OKLCH | oklch(53.22% 0.165 301) |
| XYZ | xyz(20.3677, 13.6153, 48.5591) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.25
Deep Lavender
#8D5EB7
ΔE00 5.71
Light Indigo
#6D5ACF
ΔE00 6.08
Slate Blue
#6A5ACD
ΔE00 6.34
Purply
#983FB2
ΔE00 6.61
Purpley
#8756E4
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4FBB #8CBB4F
analogous
#4F56BB #7E4FBB #B44FBB
triadic
#7E4FBB #BB7E4F #4FBB7E
tetradic
#7E4FBB #BB4F56 #8CBB4F #4FBBB4
square
#7E4FBB #BB4F56 #8CBB4F #4FBBB4
split-complementary
#7E4FBB #BBB44F #56BB4F
monochromatic
#442868 #613994 #7E4FBB #9E7BCC #BFA7DD
Accessibility & contrast
On white
5.64
#7E4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#7E4FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4FBB
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4FBB | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#3167B9
Tritanopia (blue-blind)
#72657D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7e4fbb; /* rgb */ color: rgb(126, 79, 187); /* oklch */ color: oklch(53.2% 0.165 301.0);
Tailwind
colors: {
custom: {
50: '#a782d0',
500: '#7e4fbb',
950: '#000000',
},
}SCSS
$custom: #7e4fbb; $custom-light: #a782d0; $custom-dark: #000000;
JSON
{
"hex": "#7e4fbb",
"rgb": {
"r": 126,
"g": 79,
"b": 187
},
"hsl": {
"h": 266.111,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.53223,
"c": 0.16489,
"h": 301
},
"luminance": 0.13615
}Semantic roles & 50–950 ramp
primary
#7E4FBB
secondary
#B6CA9B
accent
#D4549C
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82