#7A47CB#7A47CB
#7A47CB is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.195 H 297.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7A47CB |
|---|---|
| RGB | rgb(122, 71, 203) |
| HSL | hsl(263, 56%, 54%) |
| HSV | hsv(263, 65%, 80%) |
| CMYK | cmyk(39.9%, 65%, 0%, 20.4%) |
| CIE-LAB | lab(42.70, 49.54, -60.81) |
| CIE-LCH | lch(42.70, 78.44, 309.17°) |
| OKLab | oklab(52.75% 0.0882 -0.1734) |
| OKLCH | oklch(52.75% 0.195 297) |
| XYZ | xyz(21.0560, 12.9555, 57.8796) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.44
Bluish Purple
#703BE7
ΔE00 4.57
Blueviolet
#8A2BE2
ΔE00 5.30
Burple
#6832E3
ΔE00 5.83
Light Indigo
#6D5ACF
ΔE00 5.83
Purpley
#8756E4
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A47CB #98CB47
analogous
#4756CB #7A47CB #BC47CB
triadic
#7A47CB #CB7A47 #47CB7A
tetradic
#7A47CB #CB4756 #98CB47 #47CBBC
square
#7A47CB #CB4756 #98CB47 #47CBBC
split-complementary
#7A47CB #CBBC47 #56CB47
monochromatic
#422176 #5D2FA6 #7A47CB #9C77D8 #BFA6E6
Accessibility & contrast
On white
5.85
#7A47CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#7A47CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A47CB
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A47CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A47CB | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#666683
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7a47cb; /* rgb */ color: rgb(122, 71, 203); /* oklch */ color: oklch(52.8% 0.195 297.0);
Tailwind
colors: {
custom: {
50: '#a67ddc',
500: '#7a47cb',
950: '#000000',
},
}SCSS
$custom: #7a47cb; $custom-light: #a67ddc; $custom-dark: #000000;
JSON
{
"hex": "#7a47cb",
"rgb": {
"r": 122,
"g": 71,
"b": 203
},
"hsl": {
"h": 263.182,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.52751,
"c": 0.19456,
"h": 297
},
"luminance": 0.12956
}Semantic roles & 50–950 ramp
primary
#7A47CB
secondary
#BDD39B
accent
#DF49A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83