#7E47BB#7E47BB
#7E47BB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.177 H 302.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7E47BB |
|---|---|
| RGB | rgb(126, 71, 187) |
| HSL | hsl(268, 46%, 51%) |
| HSV | hsv(268, 62%, 73%) |
| CMYK | cmyk(32.6%, 62%, 0%, 26.7%) |
| CIE-LAB | lab(42.05, 46.33, -52.53) |
| CIE-LCH | lch(42.05, 70.04, 311.41°) |
| OKLab | oklab(52.03% 0.0949 -0.1489) |
| OKLCH | oklch(52.03% 0.177 302.5) |
| XYZ | xyz(19.8250, 12.5299, 48.3782) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.20
Darkorchid
#9932CC
ΔE00 5.65
Bluey Purple
#6241C7
ΔE00 5.88
Purply
#983FB2
ΔE00 5.91
Blueviolet
#8A2BE2
ΔE00 6.59
Bluish Purple
#703BE7
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E47BB #84BB47
analogous
#474ABB #7E47BB #B847BB
triadic
#7E47BB #BB7E47 #47BB7E
tetradic
#7E47BB #BB474A #84BB47 #47BBB8
square
#7E47BB #BB474A #84BB47 #47BBB8
split-complementary
#7E47BB #BBB847 #4ABB47
monochromatic
#422563 #603590 #7E47BB #9D74CC #BDA0DC
Accessibility & contrast
On white
5.99
#7E47BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#7E47BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E47BB
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E47BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E47BB | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#2463B8
Tritanopia (blue-blind)
#725F7A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7e47bb; /* rgb */ color: rgb(126, 71, 187); /* oklch */ color: oklch(52.0% 0.177 302.5);
Tailwind
colors: {
custom: {
50: '#a77dd0',
500: '#7e47bb',
950: '#000000',
},
}SCSS
$custom: #7e47bb; $custom-light: #a77dd0; $custom-dark: #000000;
JSON
{
"hex": "#7e47bb",
"rgb": {
"r": 126,
"g": 71,
"b": 187
},
"hsl": {
"h": 268.448,
"s": 46.032,
"l": 50.588
},
"oklch": {
"l": 0.52034,
"c": 0.17661,
"h": 302.5
},
"luminance": 0.1253
}Semantic roles & 50–950 ramp
primary
#7E47BB
secondary
#B0C995
accent
#D65297
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82