#7E3BCE#7E3BCE
#7E3BCE is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.213 H 299.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3BCE |
|---|---|
| RGB | rgb(126, 59, 206) |
| HSL | hsl(267, 60%, 52%) |
| HSV | hsv(267, 71%, 81%) |
| CMYK | cmyk(38.8%, 71.4%, 0%, 19.2%) |
| CIE-LAB | lab(41.25, 56.98, -64.88) |
| CIE-LCH | lch(41.25, 86.35, 311.29°) |
| OKLab | oklab(51.89% 0.1055 -0.1852) |
| OKLCH | oklch(51.89% 0.213 299.7) |
| XYZ | xyz(21.3059, 12.0195, 59.5781) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.31
Bluish Purple
#703BE7
ΔE00 4.06
Burple
#6832E3
ΔE00 4.69
Darkorchid
#9932CC
ΔE00 4.81
Bluey Purple
#6241C7
ΔE00 4.81
Darkviolet
#9400D3
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3BCE #8BCE3B
analogous
#3B42CE #7E3BCE #C83BCE
triadic
#7E3BCE #CE7E3B #3BCE7E
tetradic
#7E3BCE #CE3B42 #8BCE3B #3BCEC8
square
#7E3BCE #CE3B42 #8BCE3B #3BCEC8
split-complementary
#7E3BCE #CEC83B #42CE3B
monochromatic
#441D72 #6029A3 #7E3BCE #9E6CDA #BE9DE6
Accessibility & contrast
On white
6.17
#7E3BCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#7E3BCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3BCE
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3BCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3BCE | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#6B5F81
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7e3bce; /* rgb */ color: rgb(126, 59, 206); /* oklch */ color: oklch(51.9% 0.213 299.7);
Tailwind
colors: {
custom: {
50: '#aa77de',
500: '#7e3bce',
950: '#000000',
},
}SCSS
$custom: #7e3bce; $custom-light: #aa77de; $custom-dark: #000000;
JSON
{
"hex": "#7e3bce",
"rgb": {
"r": 126,
"g": 59,
"b": 206
},
"hsl": {
"h": 267.347,
"s": 60,
"l": 51.961
},
"oklch": {
"l": 0.51889,
"c": 0.21315,
"h": 299.7
},
"luminance": 0.1202
}Semantic roles & 50–950 ramp
primary
#7E3BCE
secondary
#B5D392
accent
#E3459B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83