#7A47C5#7A47C5
#7A47C5 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.188 H 298.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7A47C5 |
|---|---|
| RGB | rgb(122, 71, 197) |
| HSL | hsl(264, 52%, 53%) |
| HSV | hsv(264, 64%, 77%) |
| CMYK | cmyk(38.1%, 64%, 0%, 22.7%) |
| CIE-LAB | lab(42.27, 47.98, -58.03) |
| CIE-LCH | lch(42.27, 75.30, 309.59°) |
| OKLab | oklab(52.31% 0.0888 -0.1652) |
| OKLCH | oklch(52.31% 0.188 298.3) |
| XYZ | xyz(20.3548, 12.6750, 54.1866) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.54
Bluish Purple
#703BE7
ΔE00 5.31
Royal Purple
#7851A9
ΔE00 5.47
Blueviolet
#8A2BE2
ΔE00 5.73
Darkorchid
#9932CC
ΔE00 6.08
Light Indigo
#6D5ACF
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A47C5 #92C547
analogous
#4753C5 #7A47C5 #B947C5
triadic
#7A47C5 #C57A47 #47C57A
tetradic
#7A47C5 #C54753 #92C547 #47C5B9
square
#7A47C5 #C54753 #92C547 #47C5B9
split-complementary
#7A47C5 #C5B947 #53C547
monochromatic
#42236F #5D329D #7A47C5 #9C76D4 #BDA4E2
Accessibility & contrast
On white
5.94
#7A47C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#7A47C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A47C5
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A47C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A47C5 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#686380
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7a47c5; /* rgb */ color: rgb(122, 71, 197); /* oklch */ color: oklch(52.3% 0.188 298.3);
Tailwind
colors: {
custom: {
50: '#a67dd7',
500: '#7a47c5',
950: '#000000',
},
}SCSS
$custom: #7a47c5; $custom-light: #a67dd7; $custom-dark: #000000;
JSON
{
"hex": "#7a47c5",
"rgb": {
"r": 122,
"g": 71,
"b": 197
},
"hsl": {
"h": 264.286,
"s": 52.066,
"l": 52.549
},
"oklch": {
"l": 0.52309,
"c": 0.18758,
"h": 298.3
},
"luminance": 0.12675
}Semantic roles & 50–950 ramp
primary
#7A47C5
secondary
#B9CF99
accent
#DC4CA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83