#7B47CA#7B47CA
#7B47CA is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.194 H 297.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7B47CA |
|---|---|
| RGB | rgb(123, 71, 202) |
| HSL | hsl(264, 55%, 54%) |
| HSV | hsv(264, 65%, 79%) |
| CMYK | cmyk(39.1%, 64.9%, 0%, 20.8%) |
| CIE-LAB | lab(42.74, 49.48, -60.17) |
| CIE-LCH | lch(42.74, 77.90, 309.44°) |
| OKLab | oklab(52.78% 0.0897 -0.1715) |
| OKLCH | oklch(52.78% 0.194 297.6) |
| XYZ | xyz(21.0796, 12.9814, 57.2607) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.62
Bluish Purple
#703BE7
ΔE00 4.77
Blueviolet
#8A2BE2
ΔE00 5.30
Light Indigo
#6D5ACF
ΔE00 5.95
Darkorchid
#9932CC
ΔE00 5.97
Burple
#6832E3
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B47CA #96CA47
analogous
#4754CA #7B47CA #BC47CA
triadic
#7B47CA #CA7B47 #47CA7B
tetradic
#7B47CA #CA4754 #96CA47 #47CABC
square
#7B47CA #CA4754 #96CA47 #47CABC
split-complementary
#7B47CA #CABC47 #54CA47
monochromatic
#432275 #5E2FA4 #7B47CA #9D77D8 #BFA6E5
Accessibility & contrast
On white
5.84
#7B47CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#7B47CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B47CA
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B47CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B47CA | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#686582
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7b47ca; /* rgb */ color: rgb(123, 71, 202); /* oklch */ color: oklch(52.8% 0.194 297.6);
Tailwind
colors: {
custom: {
50: '#a77ddb',
500: '#7b47ca',
950: '#000000',
},
}SCSS
$custom: #7b47ca; $custom-light: #a77ddb; $custom-dark: #000000;
JSON
{
"hex": "#7b47ca",
"rgb": {
"r": 123,
"g": 71,
"b": 202
},
"hsl": {
"h": 263.817,
"s": 55.274,
"l": 53.529
},
"oklch": {
"l": 0.52782,
"c": 0.19352,
"h": 297.6
},
"luminance": 0.12982
}Semantic roles & 50–950 ramp
primary
#7B47CA
secondary
#BCD29A
accent
#DF49A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83