#7E3FC0#7E3FC0
#7E3FC0 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.193 H 302.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3FC0 |
|---|---|
| RGB | rgb(126, 63, 192) |
| HSL | hsl(269, 51%, 50%) |
| HSV | hsv(269, 67%, 75%) |
| CMYK | cmyk(34.4%, 67.2%, 0%, 24.7%) |
| CIE-LAB | lab(40.89, 51.65, -57.32) |
| CIE-LCH | lch(40.89, 77.16, 312.02°) |
| OKLab | oklab(51.31% 0.1036 -0.163) |
| OKLCH | oklch(51.31% 0.193 302.4) |
| XYZ | xyz(19.8939, 11.7964, 51.0878) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.85
Blueviolet
#8A2BE2
ΔE00 5.10
Bluey Purple
#6241C7
ΔE00 5.22
Bluish Purple
#703BE7
ΔE00 5.97
Royal Purple
#7851A9
ΔE00 5.97
Purply
#983FB2
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3FC0 #81C03F
analogous
#3F41C0 #7E3FC0 #BE3FC0
triadic
#7E3FC0 #C07E3F #3FC07E
tetradic
#7E3FC0 #C03F41 #81C03F #3FC0BE
square
#7E3FC0 #C03F41 #81C03F #3FC0BE
split-complementary
#7E3FC0 #C0BE3F #41C03F
monochromatic
#422164 #603092 #7E3FC0 #9D6DCF #BC9BDE
Accessibility & contrast
On white
6.25
#7E3FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#7E3FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3FC0
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3FC0 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#715C7A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7e3fc0; /* rgb */ color: rgb(126, 63, 192); /* oklch */ color: oklch(51.3% 0.193 302.4);
Tailwind
colors: {
custom: {
50: '#a878d4',
500: '#7e3fc0',
950: '#000000',
},
}SCSS
$custom: #7e3fc0; $custom-light: #a878d4; $custom-dark: #000000;
JSON
{
"hex": "#7e3fc0",
"rgb": {
"r": 126,
"g": 63,
"b": 192
},
"hsl": {
"h": 269.302,
"s": 50.588,
"l": 50
},
"oklch": {
"l": 0.51309,
"c": 0.19315,
"h": 302.4
},
"luminance": 0.11796
}Semantic roles & 50–950 ramp
primary
#7E3FC0
secondary
#AECA91
accent
#DA4E96
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83