#7B41BF#7B41BF
#7B41BF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.189 H 301.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7B41BF |
|---|---|
| RGB | rgb(123, 65, 191) |
| HSL | hsl(268, 50%, 50%) |
| HSV | hsv(268, 66%, 75%) |
| CMYK | cmyk(35.6%, 66%, 0%, 25.1%) |
| CIE-LAB | lab(40.82, 49.78, -56.87) |
| CIE-LCH | lch(40.82, 75.58, 311.20°) |
| OKLab | oklab(51.16% 0.0974 -0.1618) |
| OKLCH | oklch(51.16% 0.189 301.1) |
| XYZ | xyz(19.4604, 11.7530, 50.5234) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.75
Darkorchid
#9932CC
ΔE00 5.46
Blueviolet
#8A2BE2
ΔE00 5.51
Royal Purple
#7851A9
ΔE00 5.62
Bluish Purple
#703BE7
ΔE00 5.89
Burple
#6832E3
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B41BF #85BF41
analogous
#4146BF #7B41BF #BA41BF
triadic
#7B41BF #BF7B41 #41BF7B
tetradic
#7B41BF #BF4146 #85BF41 #41BFBA
square
#7B41BF #BF4146 #85BF41 #41BFBA
split-complementary
#7B41BF #BFBA41 #46BF41
monochromatic
#402264 #5E3192 #7B41BF #9B6FCE #BB9DDE
Accessibility & contrast
On white
6.27
#7B41BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#7B41BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B41BF
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B41BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B41BF | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0060BC
Tritanopia (blue-blind)
#6D5D7A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7b41bf; /* rgb */ color: rgb(123, 65, 191); /* oklch */ color: oklch(51.2% 0.189 301.1);
Tailwind
colors: {
custom: {
50: '#a679d3',
500: '#7b41bf',
950: '#000000',
},
}SCSS
$custom: #7b41bf; $custom-light: #a679d3; $custom-dark: #000000;
JSON
{
"hex": "#7b41bf",
"rgb": {
"r": 123,
"g": 65,
"b": 191
},
"hsl": {
"h": 267.619,
"s": 49.606,
"l": 50.196
},
"oklch": {
"l": 0.51156,
"c": 0.18886,
"h": 301.1
},
"luminance": 0.11753
}Semantic roles & 50–950 ramp
primary
#7B41BF
secondary
#B0CA92
accent
#D94F99
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83