#7B41BD#7B41BD
#7B41BD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.187 H 301.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7B41BD |
|---|---|
| RGB | rgb(123, 65, 189) |
| HSL | hsl(268, 49%, 50%) |
| HSV | hsv(268, 66%, 74%) |
| CMYK | cmyk(34.9%, 65.6%, 0%, 25.9%) |
| CIE-LAB | lab(40.68, 49.28, -55.93) |
| CIE-LCH | lch(40.68, 74.54, 311.38°) |
| OKLab | oklab(51.01% 0.0976 -0.159) |
| OKLCH | oklch(51.01% 0.187 301.6) |
| XYZ | xyz(19.2418, 11.6656, 49.3722) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.90
Royal Purple
#7851A9
ΔE00 5.43
Darkorchid
#9932CC
ΔE00 5.51
Blueviolet
#8A2BE2
ΔE00 5.74
Bluish Purple
#703BE7
ΔE00 6.19
Purply
#983FB2
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B41BD #83BD41
analogous
#4145BD #7B41BD #B941BD
triadic
#7B41BD #BD7B41 #41BD7B
tetradic
#7B41BD #BD4145 #83BD41 #41BDB9
square
#7B41BD #BD4145 #83BD41 #41BDB9
split-complementary
#7B41BD #BDB941 #45BD41
monochromatic
#402262 #5D318F #7B41BD #9B6ECD #BA9CDD
Accessibility & contrast
On white
6.30
#7B41BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#7B41BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B41BD
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B41BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B41BD | 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)
#005FC1
Deuteranopia (green-blind)
#075FBA
Tritanopia (blue-blind)
#6D5D79
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7b41bd; /* rgb */ color: rgb(123, 65, 189); /* oklch */ color: oklch(51.0% 0.187 301.6);
Tailwind
colors: {
custom: {
50: '#a679d2',
500: '#7b41bd',
950: '#000000',
},
}SCSS
$custom: #7b41bd; $custom-light: #a679d2; $custom-dark: #000000;
JSON
{
"hex": "#7b41bd",
"rgb": {
"r": 123,
"g": 65,
"b": 189
},
"hsl": {
"h": 268.065,
"s": 48.819,
"l": 49.804
},
"oklch": {
"l": 0.5101,
"c": 0.1866,
"h": 301.6
},
"luminance": 0.11666
}Semantic roles & 50–950 ramp
primary
#7B41BD
secondary
#AFC991
accent
#D84F98
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83