#7E3FD2#7E3FD2
#7E3FD2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.213 H 298.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3FD2 |
|---|---|
| RGB | rgb(126, 63, 210) |
| HSL | hsl(266, 62%, 54%) |
| HSV | hsv(266, 70%, 82%) |
| CMYK | cmyk(40%, 70%, 0%, 17.6%) |
| CIE-LAB | lab(42.22, 56.10, -65.60) |
| CIE-LCH | lch(42.22, 86.32, 310.53°) |
| OKLab | oklab(52.68% 0.1009 -0.1873) |
| OKLCH | oklch(52.68% 0.213 298.3) |
| XYZ | xyz(22.0116, 12.6434, 62.2410) |
| Luminance | 0.1264 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.45
Bluish Purple
#703BE7
ΔE00 3.62
Burple
#6832E3
ΔE00 4.75
Bluey Purple
#6241C7
ΔE00 4.83
Darkorchid
#9932CC
ΔE00 5.10
Purpleish Blue
#6140EF
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3FD2 #93D23F
analogous
#3F49D2 #7E3FD2 #C73FD2
triadic
#7E3FD2 #D27E3F #3FD27E
tetradic
#7E3FD2 #D23F49 #93D23F #3FD2C7
square
#7E3FD2 #D23F49 #93D23F #3FD2C7
split-complementary
#7E3FD2 #D2C73F #49D23F
monochromatic
#451D7A #6128AC #7E3FD2 #9F71DE #C1A2E9
Accessibility & contrast
On white
5.95
#7E3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#7E3FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3FD2
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3FD2 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#6A6384
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7e3fd2; /* rgb */ color: rgb(126, 63, 210); /* oklch */ color: oklch(52.7% 0.213 298.3);
Tailwind
colors: {
custom: {
50: '#aa79e1',
500: '#7e3fd2',
950: '#000000',
},
}SCSS
$custom: #7e3fd2; $custom-light: #aa79e1; $custom-dark: #000000;
JSON
{
"hex": "#7e3fd2",
"rgb": {
"r": 126,
"g": 63,
"b": 210
},
"hsl": {
"h": 265.714,
"s": 62.025,
"l": 53.529
},
"oklch": {
"l": 0.52677,
"c": 0.2128,
"h": 298.3
},
"luminance": 0.12644
}Semantic roles & 50–950 ramp
primary
#7E3FD2
secondary
#BBD697
accent
#E543A0
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83