#7941C1#7941C1
#7941C1 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.191 H 299.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7941C1 |
|---|---|
| RGB | rgb(121, 65, 193) |
| HSL | hsl(266, 51%, 51%) |
| HSV | hsv(266, 66%, 76%) |
| CMYK | cmyk(37.3%, 66.3%, 0%, 24.3%) |
| CIE-LAB | lab(40.73, 49.87, -58.20) |
| CIE-LCH | lch(40.73, 76.64, 310.59°) |
| OKLab | oklab(51.08% 0.0945 -0.1657) |
| OKLCH | oklch(51.08% 0.191 299.7) |
| XYZ | xyz(19.3987, 11.6956, 51.6772) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.25
Blueviolet
#8A2BE2
ΔE00 5.39
Bluish Purple
#703BE7
ΔE00 5.45
Darkorchid
#9932CC
ΔE00 5.76
Royal Purple
#7851A9
ΔE00 5.87
Burple
#6832E3
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7941C1 #89C141
analogous
#4149C1 #7941C1 #B941C1
triadic
#7941C1 #C17941 #41C179
tetradic
#7941C1 #C14149 #89C141 #41C1B9
square
#7941C1 #C14149 #89C141 #41C1B9
split-complementary
#7941C1 #C1B941 #49C141
monochromatic
#3F2166 #5C3094 #7941C1 #9A6FD0 #BA9DDF
Accessibility & contrast
On white
6.29
#7941C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#7941C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7941C1
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7941C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7941C1 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#695E7B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7941c1; /* rgb */ color: rgb(121, 65, 193); /* oklch */ color: oklch(51.1% 0.191 299.7);
Tailwind
colors: {
custom: {
50: '#a579d5',
500: '#7941c1',
950: '#000000',
},
}SCSS
$custom: #7941c1; $custom-light: #a579d5; $custom-dark: #000000;
JSON
{
"hex": "#7941c1",
"rgb": {
"r": 121,
"g": 65,
"b": 193
},
"hsl": {
"h": 266.25,
"s": 50.794,
"l": 50.588
},
"oklch": {
"l": 0.51082,
"c": 0.19078,
"h": 299.7
},
"luminance": 0.11696
}Semantic roles & 50–950 ramp
primary
#7941C1
secondary
#B2CB92
accent
#DA4E9D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83