#7B4BB9#7B4BB9
#7B4BB9 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.168 H 300.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4BB9 |
|---|---|
| RGB | rgb(123, 75, 185) |
| HSL | hsl(266, 44%, 51%) |
| HSV | hsv(266, 59%, 73%) |
| CMYK | cmyk(33.5%, 59.5%, 0%, 27.5%) |
| CIE-LAB | lab(42.38, 42.96, -50.85) |
| CIE-LCH | lch(42.38, 66.57, 310.19°) |
| OKLab | oklab(52.16% 0.0861 -0.1441) |
| OKLCH | oklch(52.16% 0.168 300.8) |
| XYZ | xyz(19.4393, 12.7458, 47.3256) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.35
Bluey Purple
#6241C7
ΔE00 5.89
Light Indigo
#6D5ACF
ΔE00 6.56
Purply
#983FB2
ΔE00 6.59
Darkorchid
#9932CC
ΔE00 6.68
Slate Blue
#6A5ACD
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4BB9 #89B94B
analogous
#4B52B9 #7B4BB9 #B24BB9
triadic
#7B4BB9 #B97B4B #4BB97B
tetradic
#7B4BB9 #B94B52 #89B94B #4BB9B2
square
#7B4BB9 #B94B52 #89B94B #4BB9B2
split-complementary
#7B4BB9 #B9B24B #52B94B
monochromatic
#412763 #5E388F #7B4BB9 #9B77CA #BCA3DB
Accessibility & contrast
On white
5.92
#7B4BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#7B4BB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4BB9
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4BB9 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F64BD
Deuteranopia (green-blind)
#2A63B7
Tritanopia (blue-blind)
#6E627B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7b4bb9; /* rgb */ color: rgb(123, 75, 185); /* oklch */ color: oklch(52.2% 0.168 300.8);
Tailwind
colors: {
custom: {
50: '#a57fcf',
500: '#7b4bb9',
950: '#000000',
},
}SCSS
$custom: #7b4bb9; $custom-light: #a57fcf; $custom-dark: #000000;
JSON
{
"hex": "#7b4bb9",
"rgb": {
"r": 123,
"g": 75,
"b": 185
},
"hsl": {
"h": 266.182,
"s": 44,
"l": 50.98
},
"oklch": {
"l": 0.52156,
"c": 0.16784,
"h": 300.8
},
"luminance": 0.12746
}Semantic roles & 50–950 ramp
primary
#7B4BB9
secondary
#B3C898
accent
#D4549C
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82