#7E3BBF#7E3BBF
#7E3BBF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.197 H 303.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3BBF |
|---|---|
| RGB | rgb(126, 59, 191) |
| HSL | hsl(270, 53%, 49%) |
| HSV | hsv(270, 69%, 75%) |
| CMYK | cmyk(34%, 69.1%, 0%, 25.1%) |
| CIE-LAB | lab(40.12, 53.34, -57.98) |
| CIE-LCH | lch(40.12, 78.79, 312.61°) |
| OKLab | oklab(50.74% 0.108 -0.1649) |
| OKLCH | oklch(50.74% 0.197 303.2) |
| XYZ | xyz(19.5699, 11.3251, 50.4351) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.78
Blueviolet
#8A2BE2
ΔE00 4.97
Bluey Purple
#6241C7
ΔE00 5.36
Darkviolet
#9400D3
ΔE00 5.78
Bluish Purple
#703BE7
ΔE00 6.12
Burple
#6832E3
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3BBF #7CBF3B
analogous
#3C3BBF #7E3BBF #BF3BBE
triadic
#7E3BBF #BF7E3B #3BBF7E
tetradic
#7E3BBF #BF3C3B #7CBF3B #3BBEBF
square
#7E3BBF #BF3C3B #7CBF3B #3BBEBF
split-complementary
#7E3BBF #BEBF3B #3BBF3C
monochromatic
#401E61 #5F2D90 #7E3BBF #9C67D0 #BB96DF
Accessibility & contrast
On white
6.43
#7E3BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#7E3BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3BBF
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3BBF | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#715A79
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7e3bbf; /* rgb */ color: rgb(126, 59, 191); /* oklch */ color: oklch(50.7% 0.197 303.2);
Tailwind
colors: {
custom: {
50: '#a876d3',
500: '#7e3bbf',
950: '#000000',
},
}SCSS
$custom: #7e3bbf; $custom-light: #a876d3; $custom-dark: #000000;
JSON
{
"hex": "#7e3bbf",
"rgb": {
"r": 126,
"g": 59,
"b": 191
},
"hsl": {
"h": 270.455,
"s": 52.8,
"l": 49.02
},
"oklch": {
"l": 0.50737,
"c": 0.19715,
"h": 303.2
},
"luminance": 0.11325
}Semantic roles & 50–950 ramp
primary
#7E3BBF
secondary
#AACA8C
accent
#DC4C93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83