#7943C4#7943C4
#7943C4 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.192 H 298.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7943C4 |
|---|---|
| RGB | rgb(121, 67, 196) |
| HSL | hsl(265, 52%, 52%) |
| HSV | hsv(265, 66%, 77%) |
| CMYK | cmyk(38.3%, 65.8%, 0%, 23.1%) |
| CIE-LAB | lab(41.32, 49.61, -58.99) |
| CIE-LCH | lch(41.32, 77.08, 310.06°) |
| OKLab | oklab(51.58% 0.092 -0.1681) |
| OKLCH | oklch(51.58% 0.192 298.7) |
| XYZ | xyz(19.8536, 12.0645, 53.4965) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.14
Bluish Purple
#703BE7
ΔE00 5.09
Blueviolet
#8A2BE2
ΔE00 5.32
Burple
#6832E3
ΔE00 5.80
Darkorchid
#9932CC
ΔE00 5.86
Royal Purple
#7851A9
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7943C4 #8EC443
analogous
#434EC4 #7943C4 #BA43C4
triadic
#7943C4 #C47943 #43C479
tetradic
#7943C4 #C4434E #8EC443 #43C4BA
square
#7943C4 #C4434E #8EC443 #43C4BA
split-complementary
#7943C4 #C4BA43 #4EC443
monochromatic
#40226B #5C309A #7943C4 #9A72D3 #BBA0E1
Accessibility & contrast
On white
6.15
#7943C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#7943C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7943C4
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7943C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7943C4 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#68617E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7943c4; /* rgb */ color: rgb(121, 67, 196); /* oklch */ color: oklch(51.6% 0.192 298.7);
Tailwind
colors: {
custom: {
50: '#a57ad7',
500: '#7943c4',
950: '#000000',
},
}SCSS
$custom: #7943c4; $custom-light: #a57ad7; $custom-dark: #000000;
JSON
{
"hex": "#7943c4",
"rgb": {
"r": 121,
"g": 67,
"b": 196
},
"hsl": {
"h": 265.116,
"s": 52.227,
"l": 51.569
},
"oklch": {
"l": 0.51575,
"c": 0.1916,
"h": 298.7
},
"luminance": 0.12065
}Semantic roles & 50–950 ramp
primary
#7943C4
secondary
#B6CE95
accent
#DC4CA0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83