#7947CD#7947CD
#7947CD is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.197 H 296.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7947CD |
|---|---|
| RGB | rgb(121, 71, 205) |
| HSL | hsl(262, 57%, 54%) |
| HSV | hsv(262, 65%, 80%) |
| CMYK | cmyk(41%, 65.4%, 0%, 19.6%) |
| CIE-LAB | lab(42.73, 49.86, -61.92) |
| CIE-LCH | lch(42.73, 79.50, 308.84°) |
| OKLab | oklab(52.8% 0.0866 -0.1767) |
| OKLCH | oklch(52.8% 0.197 296.1) |
| XYZ | xyz(21.1550, 12.9788, 59.1363) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.26
Bluey Purple
#6241C7
ΔE00 4.29
Blueviolet
#8A2BE2
ΔE00 5.25
Burple
#6832E3
ΔE00 5.59
Light Indigo
#6D5ACF
ΔE00 5.68
Purpleish Blue
#6140EF
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7947CD #9BCD47
analogous
#4758CD #7947CD #BC47CD
triadic
#7947CD #CD7947 #47CD79
tetradic
#7947CD #CD4758 #9BCD47 #47CDBC
square
#7947CD #CD4758 #9BCD47 #47CDBC
split-complementary
#7947CD #CDBC47 #58CD47
monochromatic
#422179 #5C2EA9 #7947CD #9C77DA #BFA7E7
Accessibility & contrast
On white
5.84
#7947CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#7947CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7947CD
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7947CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7947CD | 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)
#0066D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#636684
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7947cd; /* rgb */ color: rgb(121, 71, 205); /* oklch */ color: oklch(52.8% 0.197 296.1);
Tailwind
colors: {
custom: {
50: '#a67ddd',
500: '#7947cd',
950: '#000000',
},
}SCSS
$custom: #7947cd; $custom-light: #a67ddd; $custom-dark: #000000;
JSON
{
"hex": "#7947cd",
"rgb": {
"r": 121,
"g": 71,
"b": 205
},
"hsl": {
"h": 262.388,
"s": 57.265,
"l": 54.118
},
"oklch": {
"l": 0.52797,
"c": 0.19679,
"h": 296.1
},
"luminance": 0.12979
}Semantic roles & 50–950 ramp
primary
#7947CD
secondary
#BFD49B
accent
#E147A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83