#7E3BB5#7E3BB5
#7E3BB5 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.186 H 305.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3BB5 |
|---|---|
| RGB | rgb(126, 59, 181) |
| HSL | hsl(273, 51%, 47%) |
| HSV | hsv(273, 67%, 71%) |
| CMYK | cmyk(30.4%, 67.4%, 0%, 29%) |
| CIE-LAB | lab(39.41, 50.96, -53.26) |
| CIE-LCH | lch(39.41, 73.71, 313.74°) |
| OKLab | oklab(50% 0.1093 -0.151) |
| OKLCH | oklch(50% 0.186 305.9) |
| XYZ | xyz(18.5068, 10.8999, 44.8360) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.28
Purply
#983FB2
ΔE00 5.67
Royal Purple
#7851A9
ΔE00 5.97
Rebeccapurple
#663399
ΔE00 5.99
Bluey Purple
#6241C7
ΔE00 6.27
Blueviolet
#8A2BE2
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3BB5 #72B53B
analogous
#413BB5 #7E3BB5 #B53BAF
triadic
#7E3BB5 #B57E3B #3BB57E
tetradic
#7E3BB5 #B5413B #72B53B #3BAFB5
square
#7E3BB5 #B5413B #72B53B #3BAFB5
split-complementary
#7E3BB5 #AFB53B #3BB541
monochromatic
#3E1D59 #5E2C87 #7E3BB5 #9C62CC #B990DB
Accessibility & contrast
On white
6.60
#7E3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#7E3BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3BB5
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3BB5 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#185DB2
Tritanopia (blue-blind)
#745673
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7e3bb5; /* rgb */ color: rgb(126, 59, 181); /* oklch */ color: oklch(50.0% 0.186 305.9);
Tailwind
colors: {
custom: {
50: '#a876cc',
500: '#7e3bb5',
950: '#000000',
},
}SCSS
$custom: #7e3bb5; $custom-light: #a876cc; $custom-dark: #000000;
JSON
{
"hex": "#7e3bb5",
"rgb": {
"r": 126,
"g": 59,
"b": 181
},
"hsl": {
"h": 272.951,
"s": 50.833,
"l": 47.059
},
"oklch": {
"l": 0.50003,
"c": 0.18642,
"h": 305.9
},
"luminance": 0.109
}Semantic roles & 50–950 ramp
primary
#7E3BB5
secondary
#A3C686
accent
#DA4D8D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82