#7B4ABB#7B4ABB
#7B4ABB is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.172 H 300.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4ABB |
|---|---|
| RGB | rgb(123, 74, 187) |
| HSL | hsl(266, 45%, 51%) |
| HSV | hsv(266, 60%, 73%) |
| CMYK | cmyk(34.2%, 60.4%, 0%, 26.7%) |
| CIE-LAB | lab(42.30, 44.02, -52.14) |
| CIE-LCH | lch(42.30, 68.24, 310.17°) |
| OKLab | oklab(52.14% 0.0872 -0.1479) |
| OKLCH | oklch(52.14% 0.172 300.5) |
| XYZ | xyz(19.5846, 12.6962, 48.4229) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.76
Bluey Purple
#6241C7
ΔE00 5.60
Darkorchid
#9932CC
ΔE00 6.46
Light Indigo
#6D5ACF
ΔE00 6.52
Purply
#983FB2
ΔE00 6.64
Slate Blue
#6A5ACD
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4ABB #8ABB4A
analogous
#4A51BB #7B4ABB #B44ABB
triadic
#7B4ABB #BB7B4A #4ABB7B
tetradic
#7B4ABB #BB4A51 #8ABB4A #4ABBB4
square
#7B4ABB #BB4A51 #8ABB4A #4ABBB4
split-complementary
#7B4ABB #BBB44A #51BB4A
monochromatic
#412665 #5E3791 #7B4ABB #9B76CC #BCA3DC
Accessibility & contrast
On white
5.93
#7B4ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#7B4ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4ABB
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4ABB | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0163BF
Deuteranopia (green-blind)
#2563B8
Tritanopia (blue-blind)
#6E627B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7b4abb; /* rgb */ color: rgb(123, 74, 187); /* oklch */ color: oklch(52.1% 0.172 300.5);
Tailwind
colors: {
custom: {
50: '#a57fd0',
500: '#7b4abb',
950: '#000000',
},
}SCSS
$custom: #7b4abb; $custom-light: #a57fd0; $custom-dark: #000000;
JSON
{
"hex": "#7b4abb",
"rgb": {
"r": 123,
"g": 74,
"b": 187
},
"hsl": {
"h": 266.018,
"s": 45.382,
"l": 51.176
},
"oklch": {
"l": 0.52142,
"c": 0.17171,
"h": 300.5
},
"luminance": 0.12696
}Semantic roles & 50–950 ramp
primary
#7B4ABB
secondary
#B4C997
accent
#D5539D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82