#7E3FBF#7E3FBF
#7E3FBF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.192 H 302.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3FBF |
|---|---|
| RGB | rgb(126, 63, 191) |
| HSL | hsl(270, 50%, 50%) |
| HSV | hsv(270, 67%, 75%) |
| CMYK | cmyk(34%, 67%, 0%, 25.1%) |
| CIE-LAB | lab(40.82, 51.41, -56.85) |
| CIE-LCH | lch(40.82, 76.65, 312.12°) |
| OKLab | oklab(51.24% 0.1037 -0.1616) |
| OKLCH | oklch(51.24% 0.192 302.7) |
| XYZ | xyz(19.7835, 11.7522, 50.5063) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.87
Blueviolet
#8A2BE2
ΔE00 5.22
Bluey Purple
#6241C7
ΔE00 5.29
Royal Purple
#7851A9
ΔE00 5.89
Bluish Purple
#703BE7
ΔE00 6.11
Purply
#983FB2
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3FBF #80BF3F
analogous
#3F40BF #7E3FBF #BE3FBF
triadic
#7E3FBF #BF7E3F #3FBF7E
tetradic
#7E3FBF #BF3F40 #80BF3F #3FBFBE
square
#7E3FBF #BF3F40 #80BF3F #3FBFBE
split-complementary
#7E3FBF #BFBE3F #40BF3F
monochromatic
#412163 #603091 #7E3FBF #9D6DCF #BC9BDE
Accessibility & contrast
On white
6.27
#7E3FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#7E3FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3FBF
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3FBF | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0260BC
Tritanopia (blue-blind)
#715C7A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7e3fbf; /* rgb */ color: rgb(126, 63, 191); /* oklch */ color: oklch(51.2% 0.192 302.7);
Tailwind
colors: {
custom: {
50: '#a878d3',
500: '#7e3fbf',
950: '#000000',
},
}SCSS
$custom: #7e3fbf; $custom-light: #a878d3; $custom-dark: #000000;
JSON
{
"hex": "#7e3fbf",
"rgb": {
"r": 126,
"g": 63,
"b": 191
},
"hsl": {
"h": 269.531,
"s": 50.394,
"l": 49.804
},
"oklch": {
"l": 0.51235,
"c": 0.19205,
"h": 302.7
},
"luminance": 0.11752
}Semantic roles & 50–950 ramp
primary
#7E3FBF
secondary
#ADCA90
accent
#DA4E95
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83