#7943C6#7943C6
#7943C6 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.194 H 298.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7943C6 |
|---|---|
| RGB | rgb(121, 67, 198) |
| HSL | hsl(265, 53%, 52%) |
| HSV | hsv(265, 66%, 78%) |
| CMYK | cmyk(38.9%, 66.2%, 0%, 22.4%) |
| CIE-LAB | lab(41.46, 50.12, -59.92) |
| CIE-LCH | lch(41.46, 78.12, 309.91°) |
| OKLab | oklab(51.72% 0.0917 -0.1708) |
| OKLCH | oklch(51.72% 0.194 298.2) |
| XYZ | xyz(20.0828, 12.1562, 54.7034) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.07
Bluish Purple
#703BE7
ΔE00 4.82
Blueviolet
#8A2BE2
ΔE00 5.14
Burple
#6832E3
ΔE00 5.59
Darkorchid
#9932CC
ΔE00 5.87
Royal Purple
#7851A9
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7943C6 #90C643
analogous
#434FC6 #7943C6 #BB43C6
triadic
#7943C6 #C67943 #43C679
tetradic
#7943C6 #C6434F #90C643 #43C6BB
square
#7943C6 #C6434F #90C643 #43C6BB
split-complementary
#7943C6 #C6BB43 #4FC643
monochromatic
#41216D #5C2F9C #7943C6 #9A72D4 #BCA1E2
Accessibility & contrast
On white
6.12
#7943C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#7943C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7943C6
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7943C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7943C6 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#67617F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7943c6; /* rgb */ color: rgb(121, 67, 198); /* oklch */ color: oklch(51.7% 0.194 298.2);
Tailwind
colors: {
custom: {
50: '#a57bd8',
500: '#7943c6',
950: '#000000',
},
}SCSS
$custom: #7943c6; $custom-light: #a57bd8; $custom-dark: #000000;
JSON
{
"hex": "#7943c6",
"rgb": {
"r": 121,
"g": 67,
"b": 198
},
"hsl": {
"h": 264.733,
"s": 53.469,
"l": 51.961
},
"oklch": {
"l": 0.51724,
"c": 0.19388,
"h": 298.2
},
"luminance": 0.12156
}Semantic roles & 50–950 ramp
primary
#7943C6
secondary
#B7CF96
accent
#DD4BA1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100915
muted
#7F7B83