#7B4FBC#7B4FBC
#7B4FBC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.166 H 299.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4FBC |
|---|---|
| RGB | rgb(123, 79, 188) |
| HSL | hsl(264, 45%, 52%) |
| HSV | hsv(264, 58%, 74%) |
| CMYK | cmyk(34.6%, 58%, 0%, 26.3%) |
| CIE-LAB | lab(43.41, 41.51, -50.94) |
| CIE-LCH | lch(43.41, 65.72, 309.18°) |
| OKLab | oklab(52.97% 0.0811 -0.1444) |
| OKLCH | oklch(52.97% 0.166 299.3) |
| XYZ | xyz(20.0392, 13.4336, 49.1044) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.40
Light Indigo
#6D5ACF
ΔE00 5.58
Slate Blue
#6A5ACD
ΔE00 5.80
Deep Lavender
#8D5EB7
ΔE00 6.19
Bluey Purple
#6241C7
ΔE00 6.20
Iris
#6258C4
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4FBC #90BC4F
analogous
#4F5ABC #7B4FBC #B14FBC
triadic
#7B4FBC #BC7B4F #4FBC7B
tetradic
#7B4FBC #BC4F5A #90BC4F #4FBCB1
square
#7B4FBC #BC4F5A #90BC4F #4FBCB1
split-complementary
#7B4FBC #BCB14F #5ABC4F
monochromatic
#422869 #5E3995 #7B4FBC #9C7BCD #BDA8DE
Accessibility & contrast
On white
5.70
#7B4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#7B4FBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4FBC
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4FBC | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1966C0
Deuteranopia (green-blind)
#2C66BA
Tritanopia (blue-blind)
#6D657E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7b4fbc; /* rgb */ color: rgb(123, 79, 188); /* oklch */ color: oklch(53.0% 0.166 299.3);
Tailwind
colors: {
custom: {
50: '#a582d1',
500: '#7b4fbc',
950: '#000000',
},
}SCSS
$custom: #7b4fbc; $custom-light: #a582d1; $custom-dark: #000000;
JSON
{
"hex": "#7b4fbc",
"rgb": {
"r": 123,
"g": 79,
"b": 188
},
"hsl": {
"h": 264.22,
"s": 44.856,
"l": 52.353
},
"oklch": {
"l": 0.52972,
"c": 0.16558,
"h": 299.3
},
"luminance": 0.13434
}Semantic roles & 50–950 ramp
primary
#7B4FBC
secondary
#B8CB9C
accent
#D553A0
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82