#7943C3#7943C3
#7943C3 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.190 H 298.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7943C3 |
|---|---|
| RGB | rgb(121, 67, 195) |
| HSL | hsl(265, 52%, 51%) |
| HSV | hsv(265, 66%, 76%) |
| CMYK | cmyk(37.9%, 65.6%, 0%, 23.5%) |
| CIE-LAB | lab(41.25, 49.35, -58.53) |
| CIE-LCH | lch(41.25, 76.56, 310.14°) |
| OKLab | oklab(51.5% 0.0921 -0.1667) |
| OKLCH | oklch(51.5% 0.19 298.9) |
| XYZ | xyz(19.7402, 12.0191, 52.8991) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.19
Bluish Purple
#703BE7
ΔE00 5.23
Blueviolet
#8A2BE2
ΔE00 5.41
Royal Purple
#7851A9
ΔE00 5.78
Darkorchid
#9932CC
ΔE00 5.87
Burple
#6832E3
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7943C3 #8DC343
analogous
#434DC3 #7943C3 #B943C3
triadic
#7943C3 #C37943 #43C379
tetradic
#7943C3 #C3434D #8DC343 #43C3B9
square
#7943C3 #C3434D #8DC343 #43C3B9
split-complementary
#7943C3 #C3B943 #4DC343
monochromatic
#40226A #5C3198 #7943C3 #9A71D2 #BBA0E1
Accessibility & contrast
On white
6.17
#7943C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#7943C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7943C3
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7943C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7943C3 | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#68607D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7943c3; /* rgb */ color: rgb(121, 67, 195); /* oklch */ color: oklch(51.5% 0.190 298.9);
Tailwind
colors: {
custom: {
50: '#a57ad6',
500: '#7943c3',
950: '#000000',
},
}SCSS
$custom: #7943c3; $custom-light: #a57ad6; $custom-dark: #000000;
JSON
{
"hex": "#7943c3",
"rgb": {
"r": 121,
"g": 67,
"b": 195
},
"hsl": {
"h": 265.313,
"s": 51.613,
"l": 51.373
},
"oklch": {
"l": 0.515,
"c": 0.19045,
"h": 298.9
},
"luminance": 0.12019
}Semantic roles & 50–950 ramp
primary
#7943C3
secondary
#B5CD95
accent
#DB4D9F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83