#7E3BCC#7E3BCC
#7E3BCC is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.211 H 300.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3BCC |
|---|---|
| RGB | rgb(126, 59, 204) |
| HSL | hsl(268, 59%, 52%) |
| HSV | hsv(268, 71%, 80%) |
| CMYK | cmyk(38.2%, 71.1%, 0%, 20%) |
| CIE-LAB | lab(41.09, 56.49, -63.97) |
| CIE-LCH | lch(41.09, 85.34, 311.44°) |
| OKLab | oklab(51.73% 0.1059 -0.1825) |
| OKLCH | oklch(51.73% 0.211 300.1) |
| XYZ | xyz(21.0645, 11.9230, 58.3066) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.49
Bluish Purple
#703BE7
ΔE00 4.32
Darkorchid
#9932CC
ΔE00 4.76
Bluey Purple
#6241C7
ΔE00 4.82
Burple
#6832E3
ΔE00 4.87
Darkviolet
#9400D3
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3BCC #89CC3B
analogous
#3B41CC #7E3BCC #C63BCC
triadic
#7E3BCC #CC7E3B #3BCC7E
tetradic
#7E3BCC #CC3B41 #89CC3B #3BCCC6
square
#7E3BCC #CC3B41 #89CC3B #3BCCC6
split-complementary
#7E3BCC #CCC63B #41CC3B
monochromatic
#431D70 #602AA0 #7E3BCC #9E6CD9 #BE9CE5
Accessibility & contrast
On white
6.20
#7E3BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#7E3BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3BCC
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3BCC | 1.00 | 6.20 | 3.38 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#6C5F80
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7e3bcc; /* rgb */ color: rgb(126, 59, 204); /* oklch */ color: oklch(51.7% 0.211 300.1);
Tailwind
colors: {
custom: {
50: '#aa77dc',
500: '#7e3bcc',
950: '#000000',
},
}SCSS
$custom: #7e3bcc; $custom-light: #aa77dc; $custom-dark: #000000;
JSON
{
"hex": "#7e3bcc",
"rgb": {
"r": 126,
"g": 59,
"b": 204
},
"hsl": {
"h": 267.724,
"s": 58.704,
"l": 51.569
},
"oklch": {
"l": 0.51732,
"c": 0.21102,
"h": 300.1
},
"luminance": 0.11923
}Semantic roles & 50–950 ramp
primary
#7E3BCC
secondary
#B4D192
accent
#E2469A
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83