#7E3BBB#7E3BBB
#7E3BBB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.193 H 304.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3BBB |
|---|---|
| RGB | rgb(126, 59, 187) |
| HSL | hsl(271, 52%, 48%) |
| HSV | hsv(271, 68%, 73%) |
| CMYK | cmyk(32.6%, 68.4%, 0%, 26.7%) |
| CIE-LAB | lab(39.83, 52.38, -56.11) |
| CIE-LCH | lch(39.83, 76.76, 313.03°) |
| OKLab | oklab(50.44% 0.1086 -0.1594) |
| OKLCH | oklch(50.44% 0.193 304.3) |
| XYZ | xyz(19.1358, 11.1515, 48.1484) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.93
Blueviolet
#8A2BE2
ΔE00 5.50
Bluey Purple
#6241C7
ΔE00 5.68
Darkviolet
#9400D3
ΔE00 5.97
Purply
#983FB2
ΔE00 6.03
Royal Purple
#7851A9
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3BBB #78BB3B
analogous
#3E3BBB #7E3BBB #BB3BB8
triadic
#7E3BBB #BB7E3B #3BBB7E
tetradic
#7E3BBB #BB3E3B #78BB3B #3BB8BB
square
#7E3BBB #BB3E3B #78BB3B #3BB8BB
split-complementary
#7E3BBB #B8BB3B #3BBB3E
monochromatic
#3F1E5E #5F2C8C #7E3BBB #9C65CE #BA93DD
Accessibility & contrast
On white
6.50
#7E3BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#7E3BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3BBB
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3BBB | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#035EB8
Tritanopia (blue-blind)
#725876
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7e3bbb; /* rgb */ color: rgb(126, 59, 187); /* oklch */ color: oklch(50.4% 0.193 304.3);
Tailwind
colors: {
custom: {
50: '#a876d0',
500: '#7e3bbb',
950: '#000000',
},
}SCSS
$custom: #7e3bbb; $custom-light: #a876d0; $custom-dark: #000000;
JSON
{
"hex": "#7e3bbb",
"rgb": {
"r": 126,
"g": 59,
"b": 187
},
"hsl": {
"h": 271.406,
"s": 52.033,
"l": 48.235
},
"oklch": {
"l": 0.5044,
"c": 0.19286,
"h": 304.3
},
"luminance": 0.11151
}Semantic roles & 50–950 ramp
primary
#7E3BBB
secondary
#A7C88A
accent
#DB4C91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82