#7E3BC3#7E3BC3
#7E3BC3 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.201 H 302.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3BC3 |
|---|---|
| RGB | rgb(126, 59, 195) |
| HSL | hsl(270, 54%, 50%) |
| HSV | hsv(270, 70%, 76%) |
| CMYK | cmyk(35.4%, 69.7%, 0%, 23.5%) |
| CIE-LAB | lab(40.42, 54.30, -59.84) |
| CIE-LCH | lch(40.42, 80.81, 312.22°) |
| OKLab | oklab(51.04% 0.1074 -0.1704) |
| OKLCH | oklch(51.04% 0.201 302.2) |
| XYZ | xyz(20.0161, 11.5036, 52.7851) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.47
Darkorchid
#9932CC
ΔE00 4.70
Bluey Purple
#6241C7
ΔE00 5.11
Bluish Purple
#703BE7
ΔE00 5.54
Darkviolet
#9400D3
ΔE00 5.65
Burple
#6832E3
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3BC3 #80C33B
analogous
#3B3CC3 #7E3BC3 #C23BC3
triadic
#7E3BC3 #C37E3B #3BC37E
tetradic
#7E3BC3 #C33B3C #80C33B #3BC3C2
square
#7E3BC3 #C33B3C #80C33B #3BC3C2
split-complementary
#7E3BC3 #C3C23B #3CC33B
monochromatic
#411F65 #602D94 #7E3BC3 #9D69D2 #BC98E0
Accessibility & contrast
On white
6.36
#7E3BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#7E3BC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3BC3
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3BC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3BC3 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#705B7B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7e3bc3; /* rgb */ color: rgb(126, 59, 195); /* oklch */ color: oklch(51.0% 0.201 302.2);
Tailwind
colors: {
custom: {
50: '#a976d6',
500: '#7e3bc3',
950: '#000000',
},
}SCSS
$custom: #7e3bc3; $custom-light: #a976d6; $custom-dark: #000000;
JSON
{
"hex": "#7e3bc3",
"rgb": {
"r": 126,
"g": 59,
"b": 195
},
"hsl": {
"h": 269.559,
"s": 53.543,
"l": 49.804
},
"oklch": {
"l": 0.51038,
"c": 0.20142,
"h": 302.2
},
"luminance": 0.11504
}Semantic roles & 50–950 ramp
primary
#7E3BC3
secondary
#ADCC8E
accent
#DD4B95
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83