#7941C2#7941C2
#7941C2 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.192 H 299.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7941C2 |
|---|---|
| RGB | rgb(121, 65, 194) |
| HSL | hsl(266, 51%, 51%) |
| HSV | hsv(266, 66%, 76%) |
| CMYK | cmyk(37.6%, 66.5%, 0%, 23.9%) |
| CIE-LAB | lab(40.80, 50.12, -58.67) |
| CIE-LCH | lch(40.80, 77.16, 310.51°) |
| OKLab | oklab(51.16% 0.0944 -0.1671) |
| OKLCH | oklch(51.16% 0.192 299.4) |
| XYZ | xyz(19.5106, 11.7404, 52.2667) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.19
Blueviolet
#8A2BE2
ΔE00 5.29
Bluish Purple
#703BE7
ΔE00 5.31
Darkorchid
#9932CC
ΔE00 5.75
Burple
#6832E3
ΔE00 5.80
Royal Purple
#7851A9
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7941C2 #8AC241
analogous
#4149C2 #7941C2 #BA41C2
triadic
#7941C2 #C27941 #41C279
tetradic
#7941C2 #C24149 #8AC241 #41C2BA
square
#7941C2 #C24149 #8AC241 #41C2BA
split-complementary
#7941C2 #C2BA41 #49C241
monochromatic
#402167 #5C3096 #7941C2 #9A6FD1 #BA9EE0
Accessibility & contrast
On white
6.27
#7941C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#7941C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7941C2
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7941C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7941C2 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#685F7C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7941c2; /* rgb */ color: rgb(121, 65, 194); /* oklch */ color: oklch(51.2% 0.192 299.4);
Tailwind
colors: {
custom: {
50: '#a579d5',
500: '#7941c2',
950: '#000000',
},
}SCSS
$custom: #7941c2; $custom-light: #a579d5; $custom-dark: #000000;
JSON
{
"hex": "#7941c2",
"rgb": {
"r": 121,
"g": 65,
"b": 194
},
"hsl": {
"h": 266.047,
"s": 51.394,
"l": 50.784
},
"oklch": {
"l": 0.51157,
"c": 0.19191,
"h": 299.4
},
"luminance": 0.11741
}Semantic roles & 50–950 ramp
primary
#7941C2
secondary
#B3CC93
accent
#DB4D9D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83