#7941B5#7941B5
#7941B5 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.177 H 302.7°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7941B5 |
|---|---|
| RGB | rgb(121, 65, 181) |
| HSL | hsl(269, 47%, 48%) |
| HSV | hsv(269, 64%, 71%) |
| CMYK | cmyk(33.1%, 64.1%, 0%, 29%) |
| CIE-LAB | lab(39.88, 46.85, -52.52) |
| CIE-LCH | lch(39.88, 70.39, 311.73°) |
| OKLab | oklab(50.21% 0.0956 -0.1491) |
| OKLCH | oklch(50.21% 0.177 302.7) |
| XYZ | xyz(18.1140, 11.1817, 44.9111) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.84
Bluey Purple
#6241C7
ΔE00 5.35
Rebeccapurple
#663399
ΔE00 6.10
Darkorchid
#9932CC
ΔE00 6.17
Purply
#983FB2
ΔE00 6.41
Blueviolet
#8A2BE2
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7941B5 #7DB541
analogous
#4143B5 #7941B5 #B341B5
triadic
#7941B5 #B57941 #41B579
tetradic
#7941B5 #B54143 #7DB541 #41B5B3
square
#7941B5 #B54143 #7DB541 #41B5B3
split-complementary
#7941B5 #B5B341 #43B541
monochromatic
#3D215B #5B3188 #7941B5 #986AC9 #B797DA
Accessibility & contrast
On white
6.49
#7941B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#7941B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7941B5
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7941B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7941B5 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#1A5EB2
Tritanopia (blue-blind)
#6D5A75
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7941b5; /* rgb */ color: rgb(121, 65, 181); /* oklch */ color: oklch(50.2% 0.177 302.7);
Tailwind
colors: {
custom: {
50: '#a479cc',
500: '#7941b5',
950: '#000000',
},
}SCSS
$custom: #7941b5; $custom-light: #a479cc; $custom-dark: #000000;
JSON
{
"hex": "#7941b5",
"rgb": {
"r": 121,
"g": 65,
"b": 181
},
"hsl": {
"h": 268.966,
"s": 47.154,
"l": 48.235
},
"oklch": {
"l": 0.50207,
"c": 0.1771,
"h": 302.7
},
"luminance": 0.11182
}Semantic roles & 50–950 ramp
primary
#7941B5
secondary
#AAC58C
accent
#D75196
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100913
muted
#7F7B82