#7941C4#7941C4
#7941C4 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.194 H 299.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7941C4 |
|---|---|
| RGB | rgb(121, 65, 196) |
| HSL | hsl(266, 53%, 51%) |
| HSV | hsv(266, 67%, 77%) |
| CMYK | cmyk(38.3%, 66.8%, 0%, 23.1%) |
| CIE-LAB | lab(40.95, 50.63, -59.60) |
| CIE-LCH | lch(40.95, 78.20, 310.35°) |
| OKLab | oklab(51.31% 0.0941 -0.1699) |
| OKLCH | oklch(51.31% 0.194 299) |
| XYZ | xyz(19.7368, 11.8308, 53.4576) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.09
Bluish Purple
#703BE7
ΔE00 5.02
Blueviolet
#8A2BE2
ΔE00 5.09
Burple
#6832E3
ΔE00 5.57
Darkorchid
#9932CC
ΔE00 5.73
Royal Purple
#7851A9
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7941C4 #8CC441
analogous
#414AC4 #7941C4 #BA41C4
triadic
#7941C4 #C47941 #41C479
tetradic
#7941C4 #C4414A #8CC441 #41C4BA
square
#7941C4 #C4414A #8CC441 #41C4BA
split-complementary
#7941C4 #C4BA41 #4AC441
monochromatic
#40216A #5C2F98 #7941C4 #9A70D3 #BB9EE1
Accessibility & contrast
On white
6.24
#7941C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#7941C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7941C4
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7941C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7941C4 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#685F7D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7941c4; /* rgb */ color: rgb(121, 65, 196); /* oklch */ color: oklch(51.3% 0.194 299.0);
Tailwind
colors: {
custom: {
50: '#a579d7',
500: '#7941c4',
950: '#000000',
},
}SCSS
$custom: #7941c4; $custom-light: #a579d7; $custom-dark: #000000;
JSON
{
"hex": "#7941c4",
"rgb": {
"r": 121,
"g": 65,
"b": 196
},
"hsl": {
"h": 265.649,
"s": 52.61,
"l": 51.176
},
"oklch": {
"l": 0.51307,
"c": 0.19418,
"h": 299
},
"luminance": 0.11831
}Semantic roles & 50–950 ramp
primary
#7941C4
secondary
#B5CD93
accent
#DC4C9E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83