#7943C5#7943C5
#7943C5 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.193 H 298.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7943C5 |
|---|---|
| RGB | rgb(121, 67, 197) |
| HSL | hsl(265, 53%, 52%) |
| HSV | hsv(265, 66%, 77%) |
| CMYK | cmyk(38.6%, 66%, 0%, 22.7%) |
| CIE-LAB | lab(41.39, 49.86, -59.46) |
| CIE-LCH | lch(41.39, 77.60, 309.98°) |
| OKLab | oklab(51.65% 0.0918 -0.1694) |
| OKLCH | oklch(51.65% 0.193 298.5) |
| XYZ | xyz(19.9678, 12.1102, 54.0980) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.10
Bluish Purple
#703BE7
ΔE00 4.95
Blueviolet
#8A2BE2
ΔE00 5.23
Burple
#6832E3
ΔE00 5.69
Darkorchid
#9932CC
ΔE00 5.86
Royal Purple
#7851A9
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7943C5 #8FC543
analogous
#434EC5 #7943C5 #BA43C5
triadic
#7943C5 #C57943 #43C579
tetradic
#7943C5 #C5434E #8FC543 #43C5BA
square
#7943C5 #C5434E #8FC543 #43C5BA
split-complementary
#7943C5 #C5BA43 #4EC543
monochromatic
#40216C #5C309B #7943C5 #9A72D3 #BCA1E2
Accessibility & contrast
On white
6.14
#7943C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#7943C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7943C5
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7943C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7943C5 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#67617E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7943c5; /* rgb */ color: rgb(121, 67, 197); /* oklch */ color: oklch(51.6% 0.193 298.5);
Tailwind
colors: {
custom: {
50: '#a57bd7',
500: '#7943c5',
950: '#000000',
},
}SCSS
$custom: #7943c5; $custom-light: #a57bd7; $custom-dark: #000000;
JSON
{
"hex": "#7943c5",
"rgb": {
"r": 121,
"g": 67,
"b": 197
},
"hsl": {
"h": 264.923,
"s": 52.846,
"l": 51.765
},
"oklch": {
"l": 0.51649,
"c": 0.19273,
"h": 298.5
},
"luminance": 0.1211
}Semantic roles & 50–950 ramp
primary
#7943C5
secondary
#B7CE95
accent
#DC4CA0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83