#7C41B2#7C41B2
#7C41B2 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.174 H 304.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7C41B2 |
|---|---|
| RGB | rgb(124, 65, 178) |
| HSL | hsl(271, 47%, 48%) |
| HSV | hsv(271, 63%, 70%) |
| CMYK | cmyk(30.3%, 63.5%, 0%, 30.2%) |
| CIE-LAB | lab(40.05, 46.80, -50.47) |
| CIE-LCH | lch(40.05, 68.83, 312.84°) |
| OKLab | oklab(50.34% 0.0999 -0.1429) |
| OKLCH | oklch(50.34% 0.174 304.9) |
| XYZ | xyz(18.2366, 11.2801, 43.3274) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.61
Purply
#983FB2
ΔE00 5.67
Darkorchid
#9932CC
ΔE00 5.93
Rebeccapurple
#663399
ΔE00 6.13
Bluey Purple
#6241C7
ΔE00 6.22
Blueviolet
#8A2BE2
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C41B2 #77B241
analogous
#4341B2 #7C41B2 #B241B0
triadic
#7C41B2 #B27C41 #41B27C
tetradic
#7C41B2 #B24341 #77B241 #41B0B2
square
#7C41B2 #B24341 #77B241 #41B0B2
split-complementary
#7C41B2 #B0B241 #41B243
monochromatic
#3E2058 #5D3185 #7C41B2 #9A68C8 #B895D8
Accessibility & contrast
On white
6.45
#7C41B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#7C41B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C41B2
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C41B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C41B2 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#245EAF
Tritanopia (blue-blind)
#725973
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7c41b2; /* rgb */ color: rgb(124, 65, 178); /* oklch */ color: oklch(50.3% 0.174 304.9);
Tailwind
colors: {
custom: {
50: '#a679ca',
500: '#7c41b2',
950: '#000000',
},
}SCSS
$custom: #7c41b2; $custom-light: #a679ca; $custom-dark: #000000;
JSON
{
"hex": "#7c41b2",
"rgb": {
"r": 124,
"g": 65,
"b": 178
},
"hsl": {
"h": 271.327,
"s": 46.502,
"l": 47.647
},
"oklch": {
"l": 0.50342,
"c": 0.17438,
"h": 304.9
},
"luminance": 0.1128
}Semantic roles & 50–950 ramp
primary
#7C41B2
secondary
#A6C48B
accent
#D65291
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82