#7B3ABB#7B3ABB
#7B3ABB is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.193 H 303.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3ABB |
|---|---|
| RGB | rgb(123, 58, 187) |
| HSL | hsl(270, 53%, 48%) |
| HSV | hsv(270, 69%, 73%) |
| CMYK | cmyk(34.2%, 69%, 0%, 26.7%) |
| CIE-LAB | lab(39.28, 52.25, -57.01) |
| CIE-LCH | lch(39.28, 77.33, 312.50°) |
| OKLab | oklab(49.96% 0.1055 -0.1622) |
| OKLCH | oklch(49.96% 0.193 303) |
| XYZ | xyz(18.6490, 10.8249, 48.1110) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.22
Darkorchid
#9932CC
ΔE00 5.42
Blueviolet
#8A2BE2
ΔE00 5.56
Darkviolet
#9400D3
ΔE00 6.05
Rebeccapurple
#663399
ΔE00 6.24
Burple
#6832E3
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3ABB #7ABB3A
analogous
#3B3ABB #7B3ABB #BB3ABA
triadic
#7B3ABB #BB7B3A #3ABB7B
tetradic
#7B3ABB #BB3B3A #7ABB3A #3ABABB
square
#7B3ABB #BB3B3A #7ABB3A #3ABABB
split-complementary
#7B3ABB #BABB3A #3ABB3B
monochromatic
#3E1D5E #5C2C8C #7B3ABB #9A63CF #B892DD
Accessibility & contrast
On white
6.64
#7B3ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#7B3ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3ABB
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3ABB | 1.00 | 6.64 | 3.17 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#6E5876
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7b3abb; /* rgb */ color: rgb(123, 58, 187); /* oklch */ color: oklch(50.0% 0.193 303.0);
Tailwind
colors: {
custom: {
50: '#a675d0',
500: '#7b3abb',
950: '#000000',
},
}SCSS
$custom: #7b3abb; $custom-light: #a675d0; $custom-dark: #000000;
JSON
{
"hex": "#7b3abb",
"rgb": {
"r": 123,
"g": 58,
"b": 187
},
"hsl": {
"h": 270.233,
"s": 52.653,
"l": 48.039
},
"oklch": {
"l": 0.49964,
"c": 0.19347,
"h": 303
},
"luminance": 0.10825
}Semantic roles & 50–950 ramp
primary
#7B3ABB
secondary
#A8C888
accent
#DC4C93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82