#7B3BB7#7B3BB7
#7B3BB7 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.188 H 304.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3BB7 |
|---|---|
| RGB | rgb(123, 59, 183) |
| HSL | hsl(271, 51%, 47%) |
| HSV | hsv(271, 68%, 72%) |
| CMYK | cmyk(32.8%, 67.8%, 0%, 28.2%) |
| CIE-LAB | lab(39.17, 50.80, -54.85) |
| CIE-LCH | lch(39.17, 74.76, 312.81°) |
| OKLab | oklab(49.79% 0.105 -0.1558) |
| OKLCH | oklch(49.79% 0.188 304) |
| XYZ | xyz(18.2776, 10.7578, 45.9041) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.57
Darkorchid
#9932CC
ΔE00 5.60
Rebeccapurple
#663399
ΔE00 5.86
Royal Purple
#7851A9
ΔE00 6.10
Blueviolet
#8A2BE2
ΔE00 6.13
Purply
#983FB2
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3BB7 #77B73B
analogous
#3D3BB7 #7B3BB7 #B73BB5
triadic
#7B3BB7 #B77B3B #3BB77B
tetradic
#7B3BB7 #B73D3B #77B73B #3BB5B7
square
#7B3BB7 #B73D3B #77B73B #3BB5B7
split-complementary
#7B3BB7 #B5B73B #3BB73D
monochromatic
#3D1D5A #5C2C89 #7B3BB7 #9963CD #B791DC
Accessibility & contrast
On white
6.66
#7B3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#7B3BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3BB7
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3BB7 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#085CB4
Tritanopia (blue-blind)
#705774
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7b3bb7; /* rgb */ color: rgb(123, 59, 183); /* oklch */ color: oklch(49.8% 0.188 304.0);
Tailwind
colors: {
custom: {
50: '#a676cd',
500: '#7b3bb7',
950: '#000000',
},
}SCSS
$custom: #7b3bb7; $custom-light: #a676cd; $custom-dark: #000000;
JSON
{
"hex": "#7b3bb7",
"rgb": {
"r": 123,
"g": 59,
"b": 183
},
"hsl": {
"h": 270.968,
"s": 51.24,
"l": 47.451
},
"oklch": {
"l": 0.49791,
"c": 0.18786,
"h": 304
},
"luminance": 0.10758
}Semantic roles & 50–950 ramp
primary
#7B3BB7
secondary
#A6C687
accent
#DB4D92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82