#7941B4#7941B4
#7941B4 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.176 H 302.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7941B4 |
|---|---|
| RGB | rgb(121, 65, 180) |
| HSL | hsl(269, 47%, 48%) |
| HSV | hsv(269, 64%, 71%) |
| CMYK | cmyk(32.8%, 63.9%, 0%, 29.4%) |
| CIE-LAB | lab(39.82, 46.61, -52.04) |
| CIE-LCH | lch(39.82, 69.86, 311.84°) |
| OKLab | oklab(50.14% 0.0957 -0.1477) |
| OKLCH | oklch(50.14% 0.176 302.9) |
| XYZ | xyz(18.0118, 11.1408, 44.3727) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.77
Bluey Purple
#6241C7
ΔE00 5.47
Rebeccapurple
#663399
ΔE00 6.00
Darkorchid
#9932CC
ΔE00 6.23
Purply
#983FB2
ΔE00 6.36
Blueviolet
#8A2BE2
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7941B4 #7CB441
analogous
#4143B4 #7941B4 #B241B4
triadic
#7941B4 #B47941 #41B479
tetradic
#7941B4 #B44143 #7CB441 #41B4B2
square
#7941B4 #B44143 #7CB441 #41B4B2
split-complementary
#7941B4 #B4B241 #43B441
monochromatic
#3D215A #5B3187 #7941B4 #9869C9 #B796D9
Accessibility & contrast
On white
6.51
#7941B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#7941B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7941B4
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7941B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7941B4 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#1C5EB1
Tritanopia (blue-blind)
#6D5A74
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7941b4; /* rgb */ color: rgb(121, 65, 180); /* oklch */ color: oklch(50.1% 0.176 302.9);
Tailwind
colors: {
custom: {
50: '#a479cb',
500: '#7941b4',
950: '#000000',
},
}SCSS
$custom: #7941b4; $custom-light: #a479cb; $custom-dark: #000000;
JSON
{
"hex": "#7941b4",
"rgb": {
"r": 121,
"g": 65,
"b": 180
},
"hsl": {
"h": 269.217,
"s": 46.939,
"l": 48.039
},
"oklch": {
"l": 0.50136,
"c": 0.17595,
"h": 302.9
},
"luminance": 0.11141
}Semantic roles & 50–950 ramp
primary
#7941B4
secondary
#A9C58C
accent
#D75196
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100913
muted
#7F7B82