#7E3FBB#7E3FBB
#7E3FBB is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.9% C 0.188 H 303.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3FBB |
|---|---|
| RGB | rgb(126, 63, 187) |
| HSL | hsl(270, 50%, 49%) |
| HSV | hsv(270, 66%, 73%) |
| CMYK | cmyk(32.6%, 66.3%, 0%, 26.7%) |
| CIE-LAB | lab(40.54, 50.44, -54.97) |
| CIE-LCH | lch(40.54, 74.60, 312.54°) |
| OKLab | oklab(50.94% 0.1042 -0.1561) |
| OKLCH | oklch(50.94% 0.188 303.7) |
| XYZ | xyz(19.3493, 11.5785, 48.2196) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.01
Royal Purple
#7851A9
ΔE00 5.57
Bluey Purple
#6241C7
ΔE00 5.61
Blueviolet
#8A2BE2
ΔE00 5.73
Purply
#983FB2
ΔE00 5.86
Darkviolet
#9400D3
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3FBB #7CBB3F
analogous
#403FBB #7E3FBB #BB3FBA
triadic
#7E3FBB #BB7E3F #3FBB7E
tetradic
#7E3FBB #BB403F #7CBB3F #3FBABB
square
#7E3FBB #BB403F #7CBB3F #3FBABB
split-complementary
#7E3FBB #BABB3F #3FBB40
monochromatic
#40205F #5F308D #7E3FBB #9C6ACD #BB98DC
Accessibility & contrast
On white
6.33
#7E3FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#7E3FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3FBB
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3FBB | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#125FB8
Tritanopia (blue-blind)
#725A78
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7e3fbb; /* rgb */ color: rgb(126, 63, 187); /* oklch */ color: oklch(50.9% 0.188 303.7);
Tailwind
colors: {
custom: {
50: '#a878d0',
500: '#7e3fbb',
950: '#000000',
},
}SCSS
$custom: #7e3fbb; $custom-light: #a878d0; $custom-dark: #000000;
JSON
{
"hex": "#7e3fbb",
"rgb": {
"r": 126,
"g": 63,
"b": 187
},
"hsl": {
"h": 270.484,
"s": 49.6,
"l": 49.02
},
"oklch": {
"l": 0.50944,
"c": 0.18765,
"h": 303.7
},
"luminance": 0.11578
}Semantic roles & 50–950 ramp
primary
#7E3FBB
secondary
#AAC88E
accent
#D94F93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82