#7B4BBE#7B4BBE
#7B4BBE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.174 H 299.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4BBE |
|---|---|
| RGB | rgb(123, 75, 190) |
| HSL | hsl(265, 47%, 52%) |
| HSV | hsv(265, 61%, 75%) |
| CMYK | cmyk(35.3%, 60.5%, 0%, 25.5%) |
| CIE-LAB | lab(42.70, 44.24, -53.25) |
| CIE-LCH | lch(42.70, 69.23, 309.73°) |
| OKLab | oklab(52.5% 0.0859 -0.1511) |
| OKLCH | oklch(52.5% 0.174 299.6) |
| XYZ | xyz(19.9765, 12.9606, 50.1544) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.05
Bluey Purple
#6241C7
ΔE00 5.49
Light Indigo
#6D5ACF
ΔE00 6.04
Slate Blue
#6A5ACD
ΔE00 6.27
Darkorchid
#9932CC
ΔE00 6.52
Iris
#6258C4
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4BBE #8EBE4B
analogous
#4B55BE #7B4BBE #B44BBE
triadic
#7B4BBE #BE7B4B #4BBE7B
tetradic
#7B4BBE #BE4B55 #8EBE4B #4BBEB4
square
#7B4BBE #BE4B55 #8EBE4B #4BBEB4
split-complementary
#7B4BBE #BEB44B #55BE4B
monochromatic
#422669 #5E3696 #7B4BBE #9C78CE #BDA5DE
Accessibility & contrast
On white
5.85
#7B4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#7B4BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4BBE
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4BBE | 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)
#0065C2
Deuteranopia (green-blind)
#2264BB
Tritanopia (blue-blind)
#6C637D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7b4bbe; /* rgb */ color: rgb(123, 75, 190); /* oklch */ color: oklch(52.5% 0.174 299.6);
Tailwind
colors: {
custom: {
50: '#a57fd2',
500: '#7b4bbe',
950: '#000000',
},
}SCSS
$custom: #7b4bbe; $custom-light: #a57fd2; $custom-dark: #000000;
JSON
{
"hex": "#7b4bbe",
"rgb": {
"r": 123,
"g": 75,
"b": 190
},
"hsl": {
"h": 265.043,
"s": 46.939,
"l": 51.961
},
"oklch": {
"l": 0.52498,
"c": 0.17386,
"h": 299.6
},
"luminance": 0.12961
}Semantic roles & 50–950 ramp
primary
#7B4BBE
secondary
#B7CC99
accent
#D7519F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83