#7E3BC0#7E3BC0
#7E3BC0 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.198 H 303.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3BC0 |
|---|---|
| RGB | rgb(126, 59, 192) |
| HSL | hsl(270, 53%, 49%) |
| HSV | hsv(270, 69%, 75%) |
| CMYK | cmyk(34.4%, 69.3%, 0%, 24.7%) |
| CIE-LAB | lab(40.20, 53.58, -58.45) |
| CIE-LCH | lch(40.20, 79.29, 312.51°) |
| OKLab | oklab(50.81% 0.1079 -0.1663) |
| OKLCH | oklch(50.81% 0.198 303) |
| XYZ | xyz(19.6804, 11.3693, 51.0166) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.75
Blueviolet
#8A2BE2
ΔE00 4.84
Bluey Purple
#6241C7
ΔE00 5.29
Darkviolet
#9400D3
ΔE00 5.74
Bluish Purple
#703BE7
ΔE00 5.97
Burple
#6832E3
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3BC0 #7DC03B
analogous
#3C3BC0 #7E3BC0 #C03BC0
triadic
#7E3BC0 #C07E3B #3BC07E
tetradic
#7E3BC0 #C03C3B #7DC03B #3BC0C0
square
#7E3BC0 #C03C3B #7DC03B #3BC0C0
split-complementary
#7E3BC0 #C0C03B #3BC03C
monochromatic
#411E62 #5F2D91 #7E3BC0 #9C68D1 #BB97DF
Accessibility & contrast
On white
6.41
#7E3BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#7E3BC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3BC0
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3BC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3BC0 | 1.00 | 6.41 | 3.27 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#715A79
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7e3bc0; /* rgb */ color: rgb(126, 59, 192); /* oklch */ color: oklch(50.8% 0.198 303.0);
Tailwind
colors: {
custom: {
50: '#a976d4',
500: '#7e3bc0',
950: '#000000',
},
}SCSS
$custom: #7e3bc0; $custom-light: #a976d4; $custom-dark: #000000;
JSON
{
"hex": "#7e3bc0",
"rgb": {
"r": 126,
"g": 59,
"b": 192
},
"hsl": {
"h": 270.226,
"s": 52.988,
"l": 49.216
},
"oklch": {
"l": 0.50812,
"c": 0.19822,
"h": 303
},
"luminance": 0.11369
}Semantic roles & 50–950 ramp
primary
#7E3BC0
secondary
#ABCA8C
accent
#DC4B93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83