#7B41BB#7B41BB
#7B41BB is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.9% C 0.184 H 302.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7B41BB |
|---|---|
| RGB | rgb(123, 65, 187) |
| HSL | hsl(269, 48%, 49%) |
| HSV | hsv(269, 65%, 73%) |
| CMYK | cmyk(34.2%, 65.2%, 0%, 26.7%) |
| CIE-LAB | lab(40.54, 48.78, -54.98) |
| CIE-LCH | lch(40.54, 73.50, 311.58°) |
| OKLab | oklab(50.86% 0.0978 -0.1562) |
| OKLCH | oklch(50.86% 0.184 302.1) |
| XYZ | xyz(19.0262, 11.5794, 48.2367) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.08
Royal Purple
#7851A9
ΔE00 5.26
Darkorchid
#9932CC
ΔE00 5.58
Blueviolet
#8A2BE2
ΔE00 5.98
Purply
#983FB2
ΔE00 6.38
Bluish Purple
#703BE7
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B41BB #81BB41
analogous
#4144BB #7B41BB #B841BB
triadic
#7B41BB #BB7B41 #41BB7B
tetradic
#7B41BB #BB4144 #81BB41 #41BBB8
square
#7B41BB #BB4144 #81BB41 #41BBB8
split-complementary
#7B41BB #BBB841 #44BB41
monochromatic
#3F2160 #5D318E #7B41BB #9A6DCC #BA9ADC
Accessibility & contrast
On white
6.33
#7B41BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#7B41BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B41BB
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B41BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B41BB | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0F5FB8
Tritanopia (blue-blind)
#6E5C78
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7b41bb; /* rgb */ color: rgb(123, 65, 187); /* oklch */ color: oklch(50.9% 0.184 302.1);
Tailwind
colors: {
custom: {
50: '#a679d0',
500: '#7b41bb',
950: '#000000',
},
}SCSS
$custom: #7b41bb; $custom-light: #a679d0; $custom-dark: #000000;
JSON
{
"hex": "#7b41bb",
"rgb": {
"r": 123,
"g": 65,
"b": 187
},
"hsl": {
"h": 268.525,
"s": 48.413,
"l": 49.412
},
"oklch": {
"l": 0.50864,
"c": 0.18434,
"h": 302.1
},
"luminance": 0.11579
}Semantic roles & 50–950 ramp
primary
#7B41BB
secondary
#ADC890
accent
#D85097
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82