#7B4ABA#7B4ABA
#7B4ABA is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.171 H 300.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4ABA |
|---|---|
| RGB | rgb(123, 74, 186) |
| HSL | hsl(266, 45%, 51%) |
| HSV | hsv(266, 60%, 73%) |
| CMYK | cmyk(33.9%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(42.24, 43.77, -51.66) |
| CIE-LCH | lch(42.24, 67.71, 310.27°) |
| OKLab | oklab(52.07% 0.0873 -0.1465) |
| OKLCH | oklch(52.07% 0.171 300.8) |
| XYZ | xyz(19.4780, 12.6536, 47.8611) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.62
Bluey Purple
#6241C7
ΔE00 5.69
Darkorchid
#9932CC
ΔE00 6.49
Purply
#983FB2
ΔE00 6.58
Light Indigo
#6D5ACF
ΔE00 6.62
Slate Blue
#6A5ACD
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4ABA #89BA4A
analogous
#4A51BA #7B4ABA #B34ABA
triadic
#7B4ABA #BA7B4A #4ABA7B
tetradic
#7B4ABA #BA4A51 #89BA4A #4ABAB3
square
#7B4ABA #BA4A51 #89BA4A #4ABAB3
split-complementary
#7B4ABA #BAB34A #51BA4A
monochromatic
#412664 #5E3790 #7B4ABA #9B76CB #BCA3DC
Accessibility & contrast
On white
5.95
#7B4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#7B4ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4ABA
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4ABA | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0563BE
Deuteranopia (green-blind)
#2663B7
Tritanopia (blue-blind)
#6E617B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7b4aba; /* rgb */ color: rgb(123, 74, 186); /* oklch */ color: oklch(52.1% 0.171 300.8);
Tailwind
colors: {
custom: {
50: '#a57fcf',
500: '#7b4aba',
950: '#000000',
},
}SCSS
$custom: #7b4aba; $custom-light: #a57fcf; $custom-dark: #000000;
JSON
{
"hex": "#7b4aba",
"rgb": {
"r": 123,
"g": 74,
"b": 186
},
"hsl": {
"h": 266.25,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.52073,
"c": 0.17052,
"h": 300.8
},
"luminance": 0.12654
}Semantic roles & 50–950 ramp
primary
#7B4ABA
secondary
#B3C997
accent
#D5539C
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82