#7B4FBE#7B4FBE
#7B4FBE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.168 H 298.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4FBE |
|---|---|
| RGB | rgb(123, 79, 190) |
| HSL | hsl(264, 46%, 53%) |
| HSV | hsv(264, 58%, 75%) |
| CMYK | cmyk(35.3%, 58.4%, 0%, 25.5%) |
| CIE-LAB | lab(43.54, 42.03, -51.90) |
| CIE-LCH | lch(43.54, 66.79, 309.00°) |
| OKLab | oklab(53.11% 0.081 -0.1472) |
| OKLCH | oklch(53.11% 0.168 298.8) |
| XYZ | xyz(20.2563, 13.5204, 50.2477) |
| Luminance | 0.1352 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.72
Light Indigo
#6D5ACF
ΔE00 5.35
Slate Blue
#6A5ACD
ΔE00 5.60
Bluey Purple
#6241C7
ΔE00 6.06
Iris
#6258C4
ΔE00 6.07
Deep Lavender
#8D5EB7
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4FBE #92BE4F
analogous
#4F5ABE #7B4FBE #B34FBE
triadic
#7B4FBE #BE7B4F #4FBE7B
tetradic
#7B4FBE #BE4F5A #92BE4F #4FBEB3
square
#7B4FBE #BE4F5A #92BE4F #4FBEB3
split-complementary
#7B4FBE #BEB34F #5ABE4F
monochromatic
#42286B #5E3898 #7B4FBE #9D7CCF #BEA8DF
Accessibility & contrast
On white
5.67
#7B4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#7B4FBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4FBE
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4FBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4FBE | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1467C2
Deuteranopia (green-blind)
#2A66BC
Tritanopia (blue-blind)
#6C667F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7b4fbe; /* rgb */ color: rgb(123, 79, 190); /* oklch */ color: oklch(53.1% 0.168 298.8);
Tailwind
colors: {
custom: {
50: '#a582d2',
500: '#7b4fbe',
950: '#000000',
},
}SCSS
$custom: #7b4fbe; $custom-light: #a582d2; $custom-dark: #000000;
JSON
{
"hex": "#7b4fbe",
"rgb": {
"r": 123,
"g": 79,
"b": 190
},
"hsl": {
"h": 263.784,
"s": 46.058,
"l": 52.745
},
"oklch": {
"l": 0.53107,
"c": 0.16804,
"h": 298.8
},
"luminance": 0.13521
}Semantic roles & 50–950 ramp
primary
#7B4FBE
secondary
#B9CC9C
accent
#D652A2
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83