#7E3FC4#7E3FC4
#7E3FC4 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.6% C 0.198 H 301.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3FC4 |
|---|---|
| RGB | rgb(126, 63, 196) |
| HSL | hsl(268, 53%, 51%) |
| HSV | hsv(268, 68%, 77%) |
| CMYK | cmyk(35.7%, 67.9%, 0%, 23.1%) |
| CIE-LAB | lab(41.18, 52.63, -59.19) |
| CIE-LCH | lch(41.18, 79.20, 311.64°) |
| OKLab | oklab(51.61% 0.1031 -0.1685) |
| OKLCH | oklch(51.61% 0.198 301.5) |
| XYZ | xyz(20.3431, 11.9761, 53.4537) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.64
Darkorchid
#9932CC
ΔE00 4.79
Bluey Purple
#6241C7
ΔE00 5.00
Bluish Purple
#703BE7
ΔE00 5.39
Burple
#6832E3
ΔE00 5.97
Darkviolet
#9400D3
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3FC4 #85C43F
analogous
#3F42C4 #7E3FC4 #C03FC4
triadic
#7E3FC4 #C47E3F #3FC47E
tetradic
#7E3FC4 #C43F42 #85C43F #3FC4C0
square
#7E3FC4 #C43F42 #85C43F #3FC4C0
split-complementary
#7E3FC4 #C4C03F #42C43F
monochromatic
#422068 #602E97 #7E3FC4 #9D6ED2 #BD9DE1
Accessibility & contrast
On white
6.19
#7E3FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#7E3FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3FC4
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3FC4 | 1.00 | 6.19 | 3.40 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#6F5E7C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7e3fc4; /* rgb */ color: rgb(126, 63, 196); /* oklch */ color: oklch(51.6% 0.198 301.5);
Tailwind
colors: {
custom: {
50: '#a978d7',
500: '#7e3fc4',
950: '#000000',
},
}SCSS
$custom: #7e3fc4; $custom-light: #a978d7; $custom-dark: #000000;
JSON
{
"hex": "#7e3fc4",
"rgb": {
"r": 126,
"g": 63,
"b": 196
},
"hsl": {
"h": 268.421,
"s": 52.988,
"l": 50.784
},
"oklch": {
"l": 0.51605,
"c": 0.19754,
"h": 301.5
},
"luminance": 0.11976
}Semantic roles & 50–950 ramp
primary
#7E3FC4
secondary
#B1CD92
accent
#DC4B98
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83