#7941C0#7941C0
#7941C0 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.190 H 299.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7941C0 |
|---|---|
| RGB | rgb(121, 65, 192) |
| HSL | hsl(266, 50%, 50%) |
| HSV | hsv(266, 66%, 75%) |
| CMYK | cmyk(37%, 66.1%, 0%, 24.7%) |
| CIE-LAB | lab(40.66, 49.61, -57.73) |
| CIE-LCH | lch(40.66, 76.12, 310.67°) |
| OKLab | oklab(51.01% 0.0946 -0.1644) |
| OKLCH | oklch(51.01% 0.19 299.9) |
| XYZ | xyz(19.2875, 11.6511, 51.0917) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.32
Blueviolet
#8A2BE2
ΔE00 5.50
Bluish Purple
#703BE7
ΔE00 5.60
Darkorchid
#9932CC
ΔE00 5.77
Royal Purple
#7851A9
ΔE00 5.77
Burple
#6832E3
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7941C0 #88C041
analogous
#4148C0 #7941C0 #B941C0
triadic
#7941C0 #C07941 #41C079
tetradic
#7941C0 #C04148 #88C041 #41C0B9
square
#7941C0 #C04148 #88C041 #41C0B9
split-complementary
#7941C0 #C0B941 #48C041
monochromatic
#3F2265 #5C3193 #7941C0 #996FCF #BA9DDE
Accessibility & contrast
On white
6.31
#7941C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#7941C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7941C0
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7941C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7941C0 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#695E7B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7941c0; /* rgb */ color: rgb(121, 65, 192); /* oklch */ color: oklch(51.0% 0.190 299.9);
Tailwind
colors: {
custom: {
50: '#a579d4',
500: '#7941c0',
950: '#000000',
},
}SCSS
$custom: #7941c0; $custom-light: #a579d4; $custom-dark: #000000;
JSON
{
"hex": "#7941c0",
"rgb": {
"r": 121,
"g": 65,
"b": 192
},
"hsl": {
"h": 266.457,
"s": 50.198,
"l": 50.392
},
"oklch": {
"l": 0.51007,
"c": 0.18965,
"h": 299.9
},
"luminance": 0.11651
}Semantic roles & 50–950 ramp
primary
#7941C0
secondary
#B2CB92
accent
#DA4E9C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83