#7E41BC#7E41BC
#7E41BC is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.186 H 303.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7E41BC |
|---|---|
| RGB | rgb(126, 65, 188) |
| HSL | hsl(270, 49%, 50%) |
| HSV | hsv(270, 65%, 74%) |
| CMYK | cmyk(33%, 65.4%, 0%, 26.3%) |
| CIE-LAB | lab(40.97, 49.68, -54.85) |
| CIE-LCH | lch(40.97, 74.00, 312.17°) |
| OKLab | oklab(51.28% 0.1018 -0.1557) |
| OKLCH | oklch(51.28% 0.186 303.2) |
| XYZ | xyz(19.5695, 11.8471, 48.8229) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.07
Royal Purple
#7851A9
ΔE00 5.30
Bluey Purple
#6241C7
ΔE00 5.54
Blueviolet
#8A2BE2
ΔE00 5.77
Purply
#983FB2
ΔE00 5.89
Bluish Purple
#703BE7
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E41BC #7FBC41
analogous
#4141BC #7E41BC #BC41BC
triadic
#7E41BC #BC7E41 #41BC7E
tetradic
#7E41BC #BC4141 #7FBC41 #41BCBC
square
#7E41BC #BC4141 #7FBC41 #41BCBC
split-complementary
#7E41BC #BCBC41 #41BC41
monochromatic
#412261 #60318F #7E41BC #9D6ECD #BB9BDC
Accessibility & contrast
On white
6.23
#7E41BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#7E41BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E41BC
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E41BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E41BC | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#1560B9
Tritanopia (blue-blind)
#725C79
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7e41bc; /* rgb */ color: rgb(126, 65, 188); /* oklch */ color: oklch(51.3% 0.186 303.2);
Tailwind
colors: {
custom: {
50: '#a879d1',
500: '#7e41bc',
950: '#000000',
},
}SCSS
$custom: #7e41bc; $custom-light: #a879d1; $custom-dark: #000000;
JSON
{
"hex": "#7e41bc",
"rgb": {
"r": 126,
"g": 65,
"b": 188
},
"hsl": {
"h": 269.756,
"s": 48.617,
"l": 49.608
},
"oklch": {
"l": 0.51278,
"c": 0.18607,
"h": 303.2
},
"luminance": 0.11847
}Semantic roles & 50–950 ramp
primary
#7E41BC
secondary
#ADC990
accent
#D85094
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82