#7B3AB5#7B3AB5
#7B3AB5 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.187 H 304.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3AB5 |
|---|---|
| RGB | rgb(123, 58, 181) |
| HSL | hsl(272, 51%, 47%) |
| HSV | hsv(272, 68%, 71%) |
| CMYK | cmyk(32%, 68%, 0%, 29%) |
| CIE-LAB | lab(38.85, 50.81, -54.18) |
| CIE-LCH | lch(38.85, 74.27, 313.16°) |
| OKLab | oklab(49.52% 0.1063 -0.1538) |
| OKLCH | oklch(49.52% 0.187 304.6) |
| XYZ | xyz(18.0201, 10.5733, 44.7986) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.58
Darkorchid
#9932CC
ΔE00 5.72
Bluey Purple
#6241C7
ΔE00 5.83
Royal Purple
#7851A9
ΔE00 6.20
Purply
#983FB2
ΔE00 6.31
Purple (survey)
#7E1E9C
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3AB5 #74B53A
analogous
#3E3AB5 #7B3AB5 #B53AB2
triadic
#7B3AB5 #B57B3A #3AB57B
tetradic
#7B3AB5 #B53E3A #74B53A #3AB2B5
square
#7B3AB5 #B53E3A #74B53A #3AB2B5
split-complementary
#7B3AB5 #B2B53A #3AB53E
monochromatic
#3C1C58 #5C2B87 #7B3AB5 #9960CC #B78EDB
Accessibility & contrast
On white
6.74
#7B3AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#7B3AB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3AB5
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3AB5 | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#0C5CB2
Tritanopia (blue-blind)
#705673
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7b3ab5; /* rgb */ color: rgb(123, 58, 181); /* oklch */ color: oklch(49.5% 0.187 304.6);
Tailwind
colors: {
custom: {
50: '#a675cc',
500: '#7b3ab5',
950: '#000000',
},
}SCSS
$custom: #7b3ab5; $custom-light: #a675cc; $custom-dark: #000000;
JSON
{
"hex": "#7b3ab5",
"rgb": {
"r": 123,
"g": 58,
"b": 181
},
"hsl": {
"h": 271.707,
"s": 51.464,
"l": 46.863
},
"oklch": {
"l": 0.49519,
"c": 0.18699,
"h": 304.6
},
"luminance": 0.10573
}Semantic roles & 50–950 ramp
primary
#7B3AB5
secondary
#A4C685
accent
#DB4D90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82