#7941C3#7941C3
#7941C3 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.193 H 299.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7941C3 |
|---|---|
| RGB | rgb(121, 65, 195) |
| HSL | hsl(266, 52%, 51%) |
| HSV | hsv(266, 67%, 76%) |
| CMYK | cmyk(37.9%, 66.7%, 0%, 23.5%) |
| CIE-LAB | lab(40.87, 50.37, -59.13) |
| CIE-LCH | lch(40.87, 77.68, 310.43°) |
| OKLab | oklab(51.23% 0.0942 -0.1685) |
| OKLCH | oklch(51.23% 0.193 299.2) |
| XYZ | xyz(19.6233, 11.7854, 52.8601) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.14
Bluish Purple
#703BE7
ΔE00 5.16
Blueviolet
#8A2BE2
ΔE00 5.19
Burple
#6832E3
ΔE00 5.69
Darkorchid
#9932CC
ΔE00 5.74
Royal Purple
#7851A9
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7941C3 #8BC341
analogous
#414AC3 #7941C3 #BA41C3
triadic
#7941C3 #C37941 #41C379
tetradic
#7941C3 #C3414A #8BC341 #41C3BA
square
#7941C3 #C3414A #8BC341 #41C3BA
split-complementary
#7941C3 #C3BA41 #4AC341
monochromatic
#402169 #5C3097 #7941C3 #9A70D2 #BB9EE0
Accessibility & contrast
On white
6.26
#7941C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#7941C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7941C3
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7941C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7941C3 | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#685F7C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7941c3; /* rgb */ color: rgb(121, 65, 195); /* oklch */ color: oklch(51.2% 0.193 299.2);
Tailwind
colors: {
custom: {
50: '#a579d6',
500: '#7941c3',
950: '#000000',
},
}SCSS
$custom: #7941c3; $custom-light: #a579d6; $custom-dark: #000000;
JSON
{
"hex": "#7941c3",
"rgb": {
"r": 121,
"g": 65,
"b": 195
},
"hsl": {
"h": 265.846,
"s": 52,
"l": 50.98
},
"oklch": {
"l": 0.51232,
"c": 0.19305,
"h": 299.2
},
"luminance": 0.11786
}Semantic roles & 50–950 ramp
primary
#7941C3
secondary
#B4CD93
accent
#DB4C9E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83