#7E46BB#7E46BB
#7E46BB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.9% C 0.178 H 302.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7E46BB |
|---|---|
| RGB | rgb(126, 70, 187) |
| HSL | hsl(269, 46%, 50%) |
| HSV | hsv(269, 63%, 73%) |
| CMYK | cmyk(32.6%, 62.6%, 0%, 26.7%) |
| CIE-LAB | lab(41.85, 46.85, -52.85) |
| CIE-LCH | lch(41.85, 70.63, 311.56°) |
| OKLab | oklab(51.89% 0.0961 -0.1499) |
| OKLCH | oklch(51.89% 0.178 302.7) |
| XYZ | xyz(19.7619, 12.4038, 48.3571) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.36
Darkorchid
#9932CC
ΔE00 5.53
Bluey Purple
#6241C7
ΔE00 5.81
Purply
#983FB2
ΔE00 5.87
Blueviolet
#8A2BE2
ΔE00 6.46
Bluish Purple
#703BE7
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E46BB #83BB46
analogous
#4648BB #7E46BB #B846BB
triadic
#7E46BB #BB7E46 #46BB7E
tetradic
#7E46BB #BB4648 #83BB46 #46BBB8
square
#7E46BB #BB4648 #83BB46 #46BBB8
split-complementary
#7E46BB #BBB846 #48BB46
monochromatic
#422462 #60358F #7E46BB #9D73CB #BCA0DC
Accessibility & contrast
On white
6.03
#7E46BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#7E46BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E46BB
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E46BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E46BB | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#2262B8
Tritanopia (blue-blind)
#725F7A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7e46bb; /* rgb */ color: rgb(126, 70, 187); /* oklch */ color: oklch(51.9% 0.178 302.7);
Tailwind
colors: {
custom: {
50: '#a87cd0',
500: '#7e46bb',
950: '#000000',
},
}SCSS
$custom: #7e46bb; $custom-light: #a87cd0; $custom-dark: #000000;
JSON
{
"hex": "#7e46bb",
"rgb": {
"r": 126,
"g": 70,
"b": 187
},
"hsl": {
"h": 268.718,
"s": 46.245,
"l": 50.392
},
"oklch": {
"l": 0.51892,
"c": 0.17802,
"h": 302.7
},
"luminance": 0.12404
}Semantic roles & 50–950 ramp
primary
#7E46BB
secondary
#B0C894
accent
#D65297
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82