#7B4BBF#7B4BBF
#7B4BBF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.175 H 299.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4BBF |
|---|---|
| RGB | rgb(123, 75, 191) |
| HSL | hsl(265, 48%, 52%) |
| HSV | hsv(265, 61%, 75%) |
| CMYK | cmyk(35.6%, 60.7%, 0%, 25.1%) |
| CIE-LAB | lab(42.77, 44.50, -53.72) |
| CIE-LCH | lch(42.77, 69.76, 309.64°) |
| OKLab | oklab(52.57% 0.0859 -0.1525) |
| OKLCH | oklch(52.57% 0.175 299.4) |
| XYZ | xyz(20.0861, 13.0045, 50.7320) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.20
Bluey Purple
#6241C7
ΔE00 5.43
Light Indigo
#6D5ACF
ΔE00 5.94
Slate Blue
#6A5ACD
ΔE00 6.18
Darkorchid
#9932CC
ΔE00 6.50
Iris
#6258C4
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4BBF #8FBF4B
analogous
#4B55BF #7B4BBF #B54BBF
triadic
#7B4BBF #BF7B4B #4BBF7B
tetradic
#7B4BBF #BF4B55 #8FBF4B #4BBFB5
square
#7B4BBF #BF4B55 #8FBF4B #4BBFB5
split-complementary
#7B4BBF #BFB54B #55BF4B
monochromatic
#42266A #5E3697 #7B4BBF #9C78CF #BDA5DF
Accessibility & contrast
On white
5.83
#7B4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#7B4BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4BBF
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4BBF | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2064BC
Tritanopia (blue-blind)
#6C647E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7b4bbf; /* rgb */ color: rgb(123, 75, 191); /* oklch */ color: oklch(52.6% 0.175 299.4);
Tailwind
colors: {
custom: {
50: '#a67fd3',
500: '#7b4bbf',
950: '#000000',
},
}SCSS
$custom: #7b4bbf; $custom-light: #a67fd3; $custom-dark: #000000;
JSON
{
"hex": "#7b4bbf",
"rgb": {
"r": 123,
"g": 75,
"b": 191
},
"hsl": {
"h": 264.828,
"s": 47.541,
"l": 52.157
},
"oklch": {
"l": 0.52567,
"c": 0.17506,
"h": 299.4
},
"luminance": 0.13005
}Semantic roles & 50–950 ramp
primary
#7B4BBF
secondary
#B7CC9A
accent
#D7519F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83