#7B4DB7#7B4DB7
#7B4DB7 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.162 H 301.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4DB7 |
|---|---|
| RGB | rgb(123, 77, 183) |
| HSL | hsl(266, 42%, 51%) |
| HSV | hsv(266, 58%, 72%) |
| CMYK | cmyk(32.8%, 57.9%, 0%, 28.2%) |
| CIE-LAB | lab(42.67, 41.34, -49.21) |
| CIE-LCH | lch(42.67, 64.27, 310.04°) |
| OKLab | oklab(52.33% 0.0836 -0.1393) |
| OKLCH | oklch(52.33% 0.162 301) |
| XYZ | xyz(19.3675, 12.9375, 46.2674) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.79
Bluey Purple
#6241C7
ΔE00 6.33
Deep Lavender
#8D5EB7
ΔE00 6.36
Light Indigo
#6D5ACF
ΔE00 6.48
Slate Blue
#6A5ACD
ΔE00 6.67
Purply
#983FB2
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4DB7 #89B74D
analogous
#4D54B7 #7B4DB7 #B04DB7
triadic
#7B4DB7 #B77B4D #4DB77B
tetradic
#7B4DB7 #B74D54 #89B74D #4DB7B0
square
#7B4DB7 #B74D54 #89B74D #4DB7B0
split-complementary
#7B4DB7 #B7B04D #54B74D
monochromatic
#412862 #5E398E #7B4DB7 #9B79C9 #BCA4DA
Accessibility & contrast
On white
5.85
#7B4DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#7B4DB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4DB7
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4DB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4DB7 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B64BA
Deuteranopia (green-blind)
#2F64B5
Tritanopia (blue-blind)
#6F627A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7b4db7; /* rgb */ color: rgb(123, 77, 183); /* oklch */ color: oklch(52.3% 0.162 301.0);
Tailwind
colors: {
custom: {
50: '#a581cd',
500: '#7b4db7',
950: '#000000',
},
}SCSS
$custom: #7b4db7; $custom-light: #a581cd; $custom-dark: #000000;
JSON
{
"hex": "#7b4db7",
"rgb": {
"r": 123,
"g": 77,
"b": 183
},
"hsl": {
"h": 266.038,
"s": 42.4,
"l": 50.98
},
"oklch": {
"l": 0.52328,
"c": 0.16244,
"h": 301
},
"luminance": 0.12938
}Semantic roles & 50–950 ramp
primary
#7B4DB7
secondary
#B3C798
accent
#D2569C
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A13
muted
#7F7C82