#7941B7#7941B7
#7941B7 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.179 H 302.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7941B7 |
|---|---|
| RGB | rgb(121, 65, 183) |
| HSL | hsl(268, 48%, 49%) |
| HSV | hsv(268, 64%, 72%) |
| CMYK | cmyk(33.9%, 64.5%, 0%, 28.2%) |
| CIE-LAB | lab(40.02, 47.35, -53.48) |
| CIE-LCH | lch(40.02, 71.43, 311.52°) |
| OKLab | oklab(50.35% 0.0955 -0.1519) |
| OKLCH | oklch(50.35% 0.179 302.2) |
| XYZ | xyz(18.3207, 11.2644, 45.9996) |
| Luminance | 0.1126 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.98
Bluey Purple
#6241C7
ΔE00 5.12
Darkorchid
#9932CC
ΔE00 6.06
Rebeccapurple
#663399
ΔE00 6.30
Purply
#983FB2
ΔE00 6.52
Blueviolet
#8A2BE2
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7941B7 #7FB741
analogous
#4144B7 #7941B7 #B441B7
triadic
#7941B7 #B77941 #41B779
tetradic
#7941B7 #B74144 #7FB741 #41B7B4
square
#7941B7 #B74144 #7FB741 #41B7B4
split-complementary
#7941B7 #B7B441 #44B741
monochromatic
#3D215D #5B318A #7941B7 #986BCA #B898DA
Accessibility & contrast
On white
6.46
#7941B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#7941B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7941B7
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7941B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7941B7 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#165EB4
Tritanopia (blue-blind)
#6C5B76
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7941b7; /* rgb */ color: rgb(121, 65, 183); /* oklch */ color: oklch(50.3% 0.179 302.2);
Tailwind
colors: {
custom: {
50: '#a479cd',
500: '#7941b7',
950: '#000000',
},
}SCSS
$custom: #7941b7; $custom-light: #a479cd; $custom-dark: #000000;
JSON
{
"hex": "#7941b7",
"rgb": {
"r": 121,
"g": 65,
"b": 183
},
"hsl": {
"h": 268.475,
"s": 47.581,
"l": 48.627
},
"oklch": {
"l": 0.5035,
"c": 0.17939,
"h": 302.2
},
"luminance": 0.11264
}Semantic roles & 50–950 ramp
primary
#7941B7
secondary
#ABC68E
accent
#D75197
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82