#7941B2#7941B2
#7941B2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.0% C 0.174 H 303.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7941B2 |
|---|---|
| RGB | rgb(121, 65, 178) |
| HSL | hsl(270, 47%, 48%) |
| HSV | hsv(270, 63%, 70%) |
| CMYK | cmyk(32%, 63.5%, 0%, 30.2%) |
| CIE-LAB | lab(39.68, 46.11, -51.08) |
| CIE-LCH | lch(39.68, 68.81, 312.07°) |
| OKLab | oklab(50% 0.0958 -0.1448) |
| OKLCH | oklch(50% 0.174 303.5) |
| XYZ | xyz(17.8095, 11.0599, 43.3074) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.64
Bluey Purple
#6241C7
ΔE00 5.72
Rebeccapurple
#663399
ΔE00 5.82
Purply
#983FB2
ΔE00 6.27
Darkorchid
#9932CC
ΔE00 6.35
Blueviolet
#8A2BE2
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7941B2 #7AB241
analogous
#4141B2 #7941B2 #B241B2
triadic
#7941B2 #B27941 #41B279
tetradic
#7941B2 #B24141 #7AB241 #41B2B2
square
#7941B2 #B24141 #7AB241 #41B2B2
split-complementary
#7941B2 #B2B241 #41B241
monochromatic
#3C2058 #5B3185 #7941B2 #9868C8 #B695D8
Accessibility & contrast
On white
6.54
#7941B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#7941B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7941B2
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7941B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7941B2 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#205DAF
Tritanopia (blue-blind)
#6E5973
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7941b2; /* rgb */ color: rgb(121, 65, 178); /* oklch */ color: oklch(50.0% 0.174 303.5);
Tailwind
colors: {
custom: {
50: '#a479ca',
500: '#7941b2',
950: '#000000',
},
}SCSS
$custom: #7941b2; $custom-light: #a479ca; $custom-dark: #000000;
JSON
{
"hex": "#7941b2",
"rgb": {
"r": 121,
"g": 65,
"b": 178
},
"hsl": {
"h": 269.735,
"s": 46.502,
"l": 47.647
},
"oklch": {
"l": 0.49995,
"c": 0.17366,
"h": 303.5
},
"luminance": 0.1106
}Semantic roles & 50–950 ramp
primary
#7941B2
secondary
#A8C48B
accent
#D65294
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82