#7E4BBF#7E4BBF
#7E4BBF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.176 H 300.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4BBF |
|---|---|
| RGB | rgb(126, 75, 191) |
| HSL | hsl(266, 48%, 52%) |
| HSV | hsv(266, 61%, 75%) |
| CMYK | cmyk(34%, 60.7%, 0%, 25.1%) |
| CIE-LAB | lab(43.11, 45.19, -53.16) |
| CIE-LCH | lch(43.11, 69.77, 310.37°) |
| OKLab | oklab(52.89% 0.0899 -0.1508) |
| OKLCH | oklch(52.89% 0.176 300.8) |
| XYZ | xyz(20.5220, 13.2292, 50.7524) |
| Luminance | 0.1323 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.17
Bluey Purple
#6241C7
ΔE00 5.95
Darkorchid
#9932CC
ΔE00 6.08
Light Indigo
#6D5ACF
ΔE00 6.27
Purply
#983FB2
ΔE00 6.48
Slate Blue
#6A5ACD
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4BBF #8CBF4B
analogous
#4B52BF #7E4BBF #B84BBF
triadic
#7E4BBF #BF7E4B #4BBF7E
tetradic
#7E4BBF #BF4B52 #8CBF4B #4BBFB8
square
#7E4BBF #BF4B52 #8CBF4B #4BBFB8
split-complementary
#7E4BBF #BFB84B #52BF4B
monochromatic
#44266A #613697 #7E4BBF #9E78CF #BFA5DF
Accessibility & contrast
On white
5.76
#7E4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#7E4BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4BBF
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4BBF | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2565BC
Tritanopia (blue-blind)
#70637E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7e4bbf; /* rgb */ color: rgb(126, 75, 191); /* oklch */ color: oklch(52.9% 0.176 300.8);
Tailwind
colors: {
custom: {
50: '#a880d3',
500: '#7e4bbf',
950: '#000000',
},
}SCSS
$custom: #7e4bbf; $custom-light: #a880d3; $custom-dark: #000000;
JSON
{
"hex": "#7e4bbf",
"rgb": {
"r": 126,
"g": 75,
"b": 191
},
"hsl": {
"h": 266.379,
"s": 47.541,
"l": 52.157
},
"oklch": {
"l": 0.52889,
"c": 0.17557,
"h": 300.8
},
"luminance": 0.13229
}Semantic roles & 50–950 ramp
primary
#7E4BBF
secondary
#B6CC9A
accent
#D7519C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83