#7E41D2#7E41D2
#7E41D2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.210 H 298.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7E41D2 |
|---|---|
| RGB | rgb(126, 65, 210) |
| HSL | hsl(265, 62%, 54%) |
| HSV | hsv(265, 69%, 82%) |
| CMYK | cmyk(40%, 69%, 0%, 17.6%) |
| CIE-LAB | lab(42.57, 55.14, -65.04) |
| CIE-LCH | lch(42.57, 85.27, 310.29°) |
| OKLab | oklab(52.92% 0.099 -0.1857) |
| OKLCH | oklch(52.92% 0.21 298.1) |
| XYZ | xyz(22.1244, 12.8690, 62.2786) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.70
Blueviolet
#8A2BE2
ΔE00 3.73
Bluey Purple
#6241C7
ΔE00 4.88
Burple
#6832E3
ΔE00 4.99
Darkorchid
#9932CC
ΔE00 5.22
Purpleish Blue
#6140EF
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E41D2 #95D241
analogous
#414DD2 #7E41D2 #C641D2
triadic
#7E41D2 #D27E41 #41D27E
tetradic
#7E41D2 #D2414D #95D241 #41D2C6
square
#7E41D2 #D2414D #95D241 #41D2C6
split-complementary
#7E41D2 #D2C641 #4DD241
monochromatic
#451D7B #6029AD #7E41D2 #A072DE #C1A4E9
Accessibility & contrast
On white
5.88
#7E41D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#7E41D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E41D2
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E41D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E41D2 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#696485
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7e41d2; /* rgb */ color: rgb(126, 65, 210); /* oklch */ color: oklch(52.9% 0.210 298.1);
Tailwind
colors: {
custom: {
50: '#aa7ae1',
500: '#7e41d2',
950: '#000000',
},
}SCSS
$custom: #7e41d2; $custom-light: #aa7ae1; $custom-dark: #000000;
JSON
{
"hex": "#7e41d2",
"rgb": {
"r": 126,
"g": 65,
"b": 210
},
"hsl": {
"h": 265.241,
"s": 61.702,
"l": 53.922
},
"oklch": {
"l": 0.52922,
"c": 0.21044,
"h": 298.1
},
"luminance": 0.12869
}Semantic roles & 50–950 ramp
primary
#7E41D2
secondary
#BCD698
accent
#E543A1
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83