#7941BF#7941BF
#7941BF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.9% C 0.189 H 300.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7941BF |
|---|---|
| RGB | rgb(121, 65, 191) |
| HSL | hsl(267, 50%, 50%) |
| HSV | hsv(267, 66%, 75%) |
| CMYK | cmyk(36.6%, 66%, 0%, 25.1%) |
| CIE-LAB | lab(40.58, 49.36, -57.26) |
| CIE-LCH | lch(40.58, 75.60, 310.76°) |
| OKLab | oklab(50.93% 0.0947 -0.163) |
| OKLCH | oklch(50.93% 0.189 300.2) |
| XYZ | xyz(19.1771, 11.6070, 50.5101) |
| Luminance | 0.1161 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.39
Blueviolet
#8A2BE2
ΔE00 5.61
Royal Purple
#7851A9
ΔE00 5.68
Bluish Purple
#703BE7
ΔE00 5.75
Darkorchid
#9932CC
ΔE00 5.79
Burple
#6832E3
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7941BF #87BF41
analogous
#4148BF #7941BF #B841BF
triadic
#7941BF #BF7941 #41BF79
tetradic
#7941BF #BF4148 #87BF41 #41BFB8
square
#7941BF #BF4148 #87BF41 #41BFB8
split-complementary
#7941BF #BFB841 #48BF41
monochromatic
#3F2264 #5C3192 #7941BF #996FCE #BA9DDE
Accessibility & contrast
On white
6.32
#7941BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#7941BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7941BF
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7941BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7941BF | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#6A5E7A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7941bf; /* rgb */ color: rgb(121, 65, 191); /* oklch */ color: oklch(50.9% 0.189 300.2);
Tailwind
colors: {
custom: {
50: '#a579d3',
500: '#7941bf',
950: '#000000',
},
}SCSS
$custom: #7941bf; $custom-light: #a579d3; $custom-dark: #000000;
JSON
{
"hex": "#7941bf",
"rgb": {
"r": 121,
"g": 65,
"b": 191
},
"hsl": {
"h": 266.667,
"s": 49.606,
"l": 50.196
},
"oklch": {
"l": 0.50933,
"c": 0.18851,
"h": 300.2
},
"luminance": 0.11607
}Semantic roles & 50–950 ramp
primary
#7941BF
secondary
#B1CA92
accent
#D94F9C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83