#7941C7#7941C7
#7941C7 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.198 H 298.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7941C7 |
|---|---|
| RGB | rgb(121, 65, 199) |
| HSL | hsl(265, 54%, 52%) |
| HSV | hsv(265, 67%, 78%) |
| CMYK | cmyk(39.2%, 67.3%, 0%, 22%) |
| CIE-LAB | lab(41.17, 51.39, -60.98) |
| CIE-LCH | lch(41.17, 79.75, 310.12°) |
| OKLab | oklab(51.54% 0.0937 -0.1739) |
| OKLCH | oklch(51.54% 0.198 298.3) |
| XYZ | xyz(20.0816, 11.9688, 55.2740) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.99
Bluish Purple
#703BE7
ΔE00 4.60
Blueviolet
#8A2BE2
ΔE00 4.82
Burple
#6832E3
ΔE00 5.26
Darkorchid
#9932CC
ΔE00 5.74
Purpley Blue
#5F34E7
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7941C7 #8FC741
analogous
#414CC7 #7941C7 #BC41C7
triadic
#7941C7 #C77941 #41C779
tetradic
#7941C7 #C7414C #8FC741 #41C7BC
square
#7941C7 #C7414C #8FC741 #41C7BC
split-complementary
#7941C7 #C7BC41 #4CC741
monochromatic
#40206D #5C2E9D #7941C7 #9A70D5 #BCA0E3
Accessibility & contrast
On white
6.19
#7941C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#7941C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7941C7
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7941C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7941C7 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#66617F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7941c7; /* rgb */ color: rgb(121, 65, 199); /* oklch */ color: oklch(51.5% 0.198 298.3);
Tailwind
colors: {
custom: {
50: '#a679d9',
500: '#7941c7',
950: '#000000',
},
}SCSS
$custom: #7941c7; $custom-light: #a679d9; $custom-dark: #000000;
JSON
{
"hex": "#7941c7",
"rgb": {
"r": 121,
"g": 65,
"b": 199
},
"hsl": {
"h": 265.075,
"s": 54.472,
"l": 51.765
},
"oklch": {
"l": 0.51535,
"c": 0.19758,
"h": 298.3
},
"luminance": 0.11969
}Semantic roles & 50–950 ramp
primary
#7941C7
secondary
#B7CF95
accent
#DE4AA0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83