#7E3BB7#7E3BB7
#7E3BB7 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.189 H 305.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3BB7 |
|---|---|
| RGB | rgb(126, 59, 183) |
| HSL | hsl(272, 51%, 47%) |
| HSV | hsv(272, 68%, 72%) |
| CMYK | cmyk(31.1%, 67.8%, 0%, 28.2%) |
| CIE-LAB | lab(39.55, 51.43, -54.21) |
| CIE-LCH | lch(39.55, 74.73, 313.49°) |
| OKLab | oklab(50.15% 0.1091 -0.1538) |
| OKLCH | oklch(50.15% 0.189 305.3) |
| XYZ | xyz(18.7135, 10.9826, 45.9246) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.14
Purply
#983FB2
ΔE00 5.78
Blueviolet
#8A2BE2
ΔE00 6.05
Royal Purple
#7851A9
ΔE00 6.06
Bluey Purple
#6241C7
ΔE00 6.06
Rebeccapurple
#663399
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3BB7 #74B73B
analogous
#403BB7 #7E3BB7 #B73BB2
triadic
#7E3BB7 #B77E3B #3BB77E
tetradic
#7E3BB7 #B7403B #74B73B #3BB2B7
square
#7E3BB7 #B7403B #74B73B #3BB2B7
split-complementary
#7E3BB7 #B2B73B #3BB740
monochromatic
#3E1D5A #5E2C89 #7E3BB7 #9C63CD #B991DC
Accessibility & contrast
On white
6.57
#7E3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#7E3BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3BB7
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3BB7 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#135DB4
Tritanopia (blue-blind)
#745774
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7e3bb7; /* rgb */ color: rgb(126, 59, 183); /* oklch */ color: oklch(50.1% 0.189 305.3);
Tailwind
colors: {
custom: {
50: '#a876cd',
500: '#7e3bb7',
950: '#000000',
},
}SCSS
$custom: #7e3bb7; $custom-light: #a876cd; $custom-dark: #000000;
JSON
{
"hex": "#7e3bb7",
"rgb": {
"r": 126,
"g": 59,
"b": 183
},
"hsl": {
"h": 272.419,
"s": 51.24,
"l": 47.451
},
"oklch": {
"l": 0.50147,
"c": 0.18856,
"h": 305.3
},
"luminance": 0.10982
}Semantic roles & 50–950 ramp
primary
#7E3BB7
secondary
#A4C687
accent
#DB4D8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82