#7E3EBF#7E3EBF
#7E3EBF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.193 H 302.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3EBF |
|---|---|
| RGB | rgb(126, 62, 191) |
| HSL | hsl(270, 51%, 50%) |
| HSV | hsv(270, 68%, 75%) |
| CMYK | cmyk(34%, 67.5%, 0%, 25.1%) |
| CIE-LAB | lab(40.64, 51.90, -57.14) |
| CIE-LCH | lch(40.64, 77.19, 312.25°) |
| OKLab | oklab(51.11% 0.1048 -0.1625) |
| OKLCH | oklch(51.11% 0.193 302.8) |
| XYZ | xyz(19.7286, 11.6424, 50.4880) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.83
Blueviolet
#8A2BE2
ΔE00 5.15
Bluey Purple
#6241C7
ΔE00 5.30
Royal Purple
#7851A9
ΔE00 6.05
Bluish Purple
#703BE7
ΔE00 6.10
Purply
#983FB2
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3EBF #7FBF3E
analogous
#3E3FBF #7E3EBF #BE3EBF
triadic
#7E3EBF #BF7E3E #3EBF7E
tetradic
#7E3EBF #BF3E3F #7FBF3E #3EBFBE
square
#7E3EBF #BF3E3F #7FBF3E #3EBFBE
split-complementary
#7E3EBF #BFBE3E #3FBF3E
monochromatic
#412063 #602F91 #7E3EBF #9D6BCF #BB99DE
Accessibility & contrast
On white
6.31
#7E3EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#7E3EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3EBF
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3EBF | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#715B79
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7e3ebf; /* rgb */ color: rgb(126, 62, 191); /* oklch */ color: oklch(51.1% 0.193 302.8);
Tailwind
colors: {
custom: {
50: '#a878d3',
500: '#7e3ebf',
950: '#000000',
},
}SCSS
$custom: #7e3ebf; $custom-light: #a878d3; $custom-dark: #000000;
JSON
{
"hex": "#7e3ebf",
"rgb": {
"r": 126,
"g": 62,
"b": 191
},
"hsl": {
"h": 269.767,
"s": 50.988,
"l": 49.608
},
"oklch": {
"l": 0.51108,
"c": 0.19335,
"h": 302.8
},
"luminance": 0.11642
}Semantic roles & 50–950 ramp
primary
#7E3EBF
secondary
#ADCA8F
accent
#DA4D94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83