#7B4FBA#7B4FBA
#7B4FBA is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.8% C 0.163 H 299.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4FBA |
|---|---|
| RGB | rgb(123, 79, 186) |
| HSL | hsl(265, 44%, 52%) |
| HSV | hsv(265, 58%, 73%) |
| CMYK | cmyk(33.9%, 57.5%, 0%, 27.1%) |
| CIE-LAB | lab(43.28, 41.00, -49.98) |
| CIE-LCH | lch(43.28, 64.64, 309.36°) |
| OKLab | oklab(52.84% 0.0811 -0.1416) |
| OKLCH | oklch(52.84% 0.163 299.8) |
| XYZ | xyz(19.8251, 13.3479, 47.9768) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.08
Light Indigo
#6D5ACF
ΔE00 5.81
Slate Blue
#6A5ACD
ΔE00 6.02
Deep Lavender
#8D5EB7
ΔE00 6.08
Bluey Purple
#6241C7
ΔE00 6.35
Iris
#6258C4
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4FBA #8EBA4F
analogous
#4F59BA #7B4FBA #B14FBA
triadic
#7B4FBA #BA7B4F #4FBA7B
tetradic
#7B4FBA #BA4F59 #8EBA4F #4FBAB1
square
#7B4FBA #BA4F59 #8EBA4F #4FBAB1
split-complementary
#7B4FBA #BAB14F #59BA4F
monochromatic
#422866 #5E3992 #7B4FBA #9C7BCB #BDA7DC
Accessibility & contrast
On white
5.72
#7B4FBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#7B4FBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4FBA
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4FBA | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C66BE
Deuteranopia (green-blind)
#2F65B8
Tritanopia (blue-blind)
#6E657D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7b4fba; /* rgb */ color: rgb(123, 79, 186); /* oklch */ color: oklch(52.8% 0.163 299.8);
Tailwind
colors: {
custom: {
50: '#a582cf',
500: '#7b4fba',
950: '#000000',
},
}SCSS
$custom: #7b4fba; $custom-light: #a582cf; $custom-dark: #000000;
JSON
{
"hex": "#7b4fba",
"rgb": {
"r": 123,
"g": 79,
"b": 186
},
"hsl": {
"h": 264.673,
"s": 43.673,
"l": 51.961
},
"oklch": {
"l": 0.52839,
"c": 0.16312,
"h": 299.8
},
"luminance": 0.13348
}Semantic roles & 50–950 ramp
primary
#7B4FBA
secondary
#B7CA9B
accent
#D3549F
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82