#7B4FBB#7B4FBB
#7B4FBB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.164 H 299.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4FBB |
|---|---|
| RGB | rgb(123, 79, 187) |
| HSL | hsl(264, 44%, 52%) |
| HSV | hsv(264, 58%, 73%) |
| CMYK | cmyk(34.2%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(43.35, 41.26, -50.46) |
| CIE-LCH | lch(43.35, 65.18, 309.27°) |
| OKLab | oklab(52.91% 0.0811 -0.143) |
| OKLCH | oklch(52.91% 0.164 299.5) |
| XYZ | xyz(19.9318, 13.3906, 48.5386) |
| Luminance | 0.1339 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.24
Light Indigo
#6D5ACF
ΔE00 5.69
Slate Blue
#6A5ACD
ΔE00 5.91
Deep Lavender
#8D5EB7
ΔE00 6.13
Bluey Purple
#6241C7
ΔE00 6.27
Iris
#6258C4
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4FBB #8FBB4F
analogous
#4F59BB #7B4FBB #B14FBB
triadic
#7B4FBB #BB7B4F #4FBB7B
tetradic
#7B4FBB #BB4F59 #8FBB4F #4FBBB1
square
#7B4FBB #BB4F59 #8FBB4F #4FBBB1
split-complementary
#7B4FBB #BBB14F #59BB4F
monochromatic
#422868 #5E3994 #7B4FBB #9C7BCC #BDA7DD
Accessibility & contrast
On white
5.71
#7B4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#7B4FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4FBB
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4FBB | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B66BF
Deuteranopia (green-blind)
#2D66B9
Tritanopia (blue-blind)
#6D657D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7b4fbb; /* rgb */ color: rgb(123, 79, 187); /* oklch */ color: oklch(52.9% 0.164 299.5);
Tailwind
colors: {
custom: {
50: '#a582d0',
500: '#7b4fbb',
950: '#000000',
},
}SCSS
$custom: #7b4fbb; $custom-light: #a582d0; $custom-dark: #000000;
JSON
{
"hex": "#7b4fbb",
"rgb": {
"r": 123,
"g": 79,
"b": 187
},
"hsl": {
"h": 264.444,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.52905,
"c": 0.16435,
"h": 299.5
},
"luminance": 0.13391
}Semantic roles & 50–950 ramp
primary
#7B4FBB
secondary
#B7CA9B
accent
#D454A0
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82