#7B4EAE#7B4EAE
#7B4EAE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.150 H 303.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4EAE |
|---|---|
| RGB | rgb(123, 78, 174) |
| HSL | hsl(268, 38%, 49%) |
| HSV | hsv(268, 55%, 68%) |
| CMYK | cmyk(29.3%, 55.2%, 0%, 31.8%) |
| CIE-LAB | lab(42.33, 38.50, -44.45) |
| CIE-LCH | lch(42.33, 58.81, 310.89°) |
| OKLab | oklab(51.9% 0.0821 -0.1253) |
| OKLCH | oklch(51.9% 0.15 303.2) |
| XYZ | xyz(18.5310, 12.7157, 41.5143) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.38
Deep Lavender
#8D5EB7
ΔE00 5.99
Purply
#983FB2
ΔE00 6.44
Bluey Purple
#6241C7
ΔE00 7.52
Light Indigo
#6D5ACF
ΔE00 7.60
Slate Blue
#6A5ACD
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4EAE #81AE4E
analogous
#4E51AE #7B4EAE #AB4EAE
triadic
#7B4EAE #AE7B4E #4EAE7B
tetradic
#7B4EAE #AE4E51 #81AE4E #4EAEAB
square
#7B4EAE #AE4E51 #81AE4E #4EAEAB
split-complementary
#7B4EAE #AEAB4E #51AE4E
monochromatic
#3F2859 #5D3B84 #7B4EAE #9A77C2 #BAA1D5
Accessibility & contrast
On white
5.93
#7B4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#7B4EAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4EAE
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4EAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4EAE | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A63B1
Deuteranopia (green-blind)
#3A64AC
Tritanopia (blue-blind)
#726076
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7b4eae; /* rgb */ color: rgb(123, 78, 174); /* oklch */ color: oklch(51.9% 0.150 303.2);
Tailwind
colors: {
custom: {
50: '#a481c7',
500: '#7b4eae',
950: '#000000',
},
}SCSS
$custom: #7b4eae; $custom-light: #a481c7; $custom-dark: #000000;
JSON
{
"hex": "#7b4eae",
"rgb": {
"r": 123,
"g": 78,
"b": 174
},
"hsl": {
"h": 268.125,
"s": 38.095,
"l": 49.412
},
"oklch": {
"l": 0.51903,
"c": 0.14982,
"h": 303.2
},
"luminance": 0.12716
}Semantic roles & 50–950 ramp
primary
#7B4EAE
secondary
#ADC296
accent
#CE5A98
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82