#7C41BB#7C41BB
#7C41BB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.185 H 302.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7C41BB |
|---|---|
| RGB | rgb(124, 65, 187) |
| HSL | hsl(269, 48%, 49%) |
| HSV | hsv(269, 65%, 73%) |
| CMYK | cmyk(33.7%, 65.2%, 0%, 26.7%) |
| CIE-LAB | lab(40.66, 49.00, -54.78) |
| CIE-LCH | lch(40.66, 73.50, 311.81°) |
| OKLab | oklab(50.98% 0.0992 -0.1556) |
| OKLCH | oklch(50.98% 0.185 302.5) |
| XYZ | xyz(19.1700, 11.6535, 48.2435) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.24
Bluey Purple
#6241C7
ΔE00 5.26
Darkorchid
#9932CC
ΔE00 5.42
Blueviolet
#8A2BE2
ΔE00 5.95
Purply
#983FB2
ΔE00 6.19
Bluish Purple
#703BE7
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C41BB #80BB41
analogous
#4143BB #7C41BB #B941BB
triadic
#7C41BB #BB7C41 #41BB7C
tetradic
#7C41BB #BB4143 #80BB41 #41BBB9
square
#7C41BB #BB4143 #80BB41 #41BBB9
split-complementary
#7C41BB #BBB941 #43BB41
monochromatic
#402160 #5E318E #7C41BB #9B6DCC #BA9ADC
Accessibility & contrast
On white
6.30
#7C41BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#7C41BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C41BB
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C41BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C41BB | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#125FB8
Tritanopia (blue-blind)
#6F5C78
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7c41bb; /* rgb */ color: rgb(124, 65, 187); /* oklch */ color: oklch(51.0% 0.185 302.5);
Tailwind
colors: {
custom: {
50: '#a679d0',
500: '#7c41bb',
950: '#000000',
},
}SCSS
$custom: #7c41bb; $custom-light: #a679d0; $custom-dark: #000000;
JSON
{
"hex": "#7c41bb",
"rgb": {
"r": 124,
"g": 65,
"b": 187
},
"hsl": {
"h": 269.016,
"s": 48.413,
"l": 49.412
},
"oklch": {
"l": 0.50978,
"c": 0.18453,
"h": 302.5
},
"luminance": 0.11654
}Semantic roles & 50–950 ramp
primary
#7C41BB
secondary
#ADC890
accent
#D85096
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82