#7B4AB0#7B4AB0
#7B4AB0 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.158 H 303.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4AB0 |
|---|---|
| RGB | rgb(123, 74, 176) |
| HSL | hsl(269, 41%, 49%) |
| HSV | hsv(269, 58%, 69%) |
| CMYK | cmyk(30.1%, 58%, 0%, 31%) |
| CIE-LAB | lab(41.60, 41.24, -46.80) |
| CIE-LCH | lch(41.60, 62.38, 311.38°) |
| OKLab | oklab(51.4% 0.0874 -0.1322) |
| OKLCH | oklch(51.4% 0.158 303.5) |
| XYZ | xyz(18.4519, 12.2431, 42.4569) |
| Luminance | 0.1224 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.45
Purply
#983FB2
ΔE00 6.06
Bluey Purple
#6241C7
ΔE00 6.79
Deep Lavender
#8D5EB7
ΔE00 6.85
Darkorchid
#9932CC
ΔE00 7.07
Rebeccapurple
#663399
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4AB0 #7FB04A
analogous
#4A4CB0 #7B4AB0 #AE4AB0
triadic
#7B4AB0 #B07B4A #4AB07B
tetradic
#7B4AB0 #B04A4C #7FB04A #4AB0AE
square
#7B4AB0 #B04A4C #7FB04A #4AB0AE
split-complementary
#7B4AB0 #B0AE4A #4CB04A
monochromatic
#3F265A #5D3885 #7B4AB0 #9A73C4 #B99ED6
Accessibility & contrast
On white
6.09
#7B4AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#7B4AB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4AB0
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4AB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4AB0 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E61B3
Deuteranopia (green-blind)
#3362AE
Tritanopia (blue-blind)
#715E76
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7b4ab0; /* rgb */ color: rgb(123, 74, 176); /* oklch */ color: oklch(51.4% 0.158 303.5);
Tailwind
colors: {
custom: {
50: '#a47ec8',
500: '#7b4ab0',
950: '#000000',
},
}SCSS
$custom: #7b4ab0; $custom-light: #a47ec8; $custom-dark: #000000;
JSON
{
"hex": "#7b4ab0",
"rgb": {
"r": 123,
"g": 74,
"b": 176
},
"hsl": {
"h": 268.824,
"s": 40.8,
"l": 49.02
},
"oklch": {
"l": 0.51404,
"c": 0.15848,
"h": 303.5
},
"luminance": 0.12243
}Semantic roles & 50–950 ramp
primary
#7B4AB0
secondary
#ACC393
accent
#D15796
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82