#7A47CD#7A47CD
#7A47CD is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.197 H 296.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7A47CD |
|---|---|
| RGB | rgb(122, 71, 205) |
| HSL | hsl(263, 57%, 54%) |
| HSV | hsv(263, 65%, 80%) |
| CMYK | cmyk(40.5%, 65.4%, 0%, 19.6%) |
| CIE-LAB | lab(42.84, 50.06, -61.73) |
| CIE-LCH | lch(42.84, 79.48, 309.04°) |
| OKLab | oklab(52.9% 0.088 -0.1761) |
| OKLCH | oklch(52.9% 0.197 296.5) |
| XYZ | xyz(21.2959, 13.0514, 59.1429) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.34
Bluey Purple
#6241C7
ΔE00 4.46
Blueviolet
#8A2BE2
ΔE00 5.18
Burple
#6832E3
ΔE00 5.69
Light Indigo
#6D5ACF
ΔE00 5.75
Purpley
#8756E4
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A47CD #9ACD47
analogous
#4757CD #7A47CD #BD47CD
triadic
#7A47CD #CD7A47 #47CD7A
tetradic
#7A47CD #CD4757 #9ACD47 #47CDBD
square
#7A47CD #CD4757 #9ACD47 #47CDBD
split-complementary
#7A47CD #CDBD47 #57CD47
monochromatic
#422179 #5D2EA9 #7A47CD #9D77DA #C0A7E7
Accessibility & contrast
On white
5.82
#7A47CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#7A47CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A47CD
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A47CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A47CD | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#656684
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7a47cd; /* rgb */ color: rgb(122, 71, 205); /* oklch */ color: oklch(52.9% 0.197 296.5);
Tailwind
colors: {
custom: {
50: '#a67ddd',
500: '#7a47cd',
950: '#000000',
},
}SCSS
$custom: #7a47cd; $custom-light: #a67ddd; $custom-dark: #000000;
JSON
{
"hex": "#7a47cd",
"rgb": {
"r": 122,
"g": 71,
"b": 205
},
"hsl": {
"h": 262.836,
"s": 57.265,
"l": 54.118
},
"oklch": {
"l": 0.52901,
"c": 0.19689,
"h": 296.5
},
"luminance": 0.13052
}Semantic roles & 50–950 ramp
primary
#7A47CD
secondary
#BFD49B
accent
#E147A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83