#7C41B7#7C41B7
#7C41B7 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.180 H 303.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7C41B7 |
|---|---|
| RGB | rgb(124, 65, 183) |
| HSL | hsl(270, 48%, 49%) |
| HSV | hsv(270, 64%, 72%) |
| CMYK | cmyk(32.2%, 64.5%, 0%, 28.2%) |
| CIE-LAB | lab(40.38, 48.02, -52.88) |
| CIE-LCH | lch(40.38, 71.42, 312.24°) |
| OKLab | oklab(50.69% 0.0995 -0.15) |
| OKLCH | oklch(50.69% 0.18 303.6) |
| XYZ | xyz(18.7478, 11.4846, 46.0196) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.92
Darkorchid
#9932CC
ΔE00 5.61
Bluey Purple
#6241C7
ΔE00 5.65
Purply
#983FB2
ΔE00 5.93
Blueviolet
#8A2BE2
ΔE00 6.46
Rebeccapurple
#663399
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C41B7 #7CB741
analogous
#4141B7 #7C41B7 #B741B7
triadic
#7C41B7 #B77C41 #41B77C
tetradic
#7C41B7 #B74141 #7CB741 #41B7B7
square
#7C41B7 #B74141 #7CB741 #41B7B7
split-complementary
#7C41B7 #B7B741 #41B741
monochromatic
#3F215D #5D318A #7C41B7 #9B6BCA #B998DA
Accessibility & contrast
On white
6.37
#7C41B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#7C41B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C41B7
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C41B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C41B7 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#1C5FB4
Tritanopia (blue-blind)
#715A76
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7c41b7; /* rgb */ color: rgb(124, 65, 183); /* oklch */ color: oklch(50.7% 0.180 303.6);
Tailwind
colors: {
custom: {
50: '#a679cd',
500: '#7c41b7',
950: '#000000',
},
}SCSS
$custom: #7c41b7; $custom-light: #a679cd; $custom-dark: #000000;
JSON
{
"hex": "#7c41b7",
"rgb": {
"r": 124,
"g": 65,
"b": 183
},
"hsl": {
"h": 270,
"s": 47.581,
"l": 48.627
},
"oklch": {
"l": 0.50692,
"c": 0.18002,
"h": 303.6
},
"luminance": 0.11485
}Semantic roles & 50–950 ramp
primary
#7C41B7
secondary
#AAC68E
accent
#D75194
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82