#7A4BBF#7A4BBF
#7A4BBF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.175 H 298.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4BBF |
|---|---|
| RGB | rgb(122, 75, 191) |
| HSL | hsl(264, 48%, 52%) |
| HSV | hsv(264, 61%, 75%) |
| CMYK | cmyk(36.1%, 60.7%, 0%, 25.1%) |
| CIE-LAB | lab(42.66, 44.27, -53.91) |
| CIE-LCH | lch(42.66, 69.76, 309.40°) |
| OKLab | oklab(52.46% 0.0845 -0.1531) |
| OKLCH | oklch(52.46% 0.175 298.9) |
| XYZ | xyz(19.9438, 12.9311, 50.7253) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.22
Bluey Purple
#6241C7
ΔE00 5.25
Light Indigo
#6D5ACF
ΔE00 5.84
Slate Blue
#6A5ACD
ΔE00 6.06
Iris
#6258C4
ΔE00 6.42
Bluish Purple
#703BE7
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4BBF #90BF4B
analogous
#4B56BF #7A4BBF #B44BBF
triadic
#7A4BBF #BF7A4B #4BBF7A
tetradic
#7A4BBF #BF4B56 #90BF4B #4BBFB4
square
#7A4BBF #BF4B56 #90BF4B #4BBFB4
split-complementary
#7A4BBF #BFB44B #56BF4B
monochromatic
#41266A #5D3697 #7A4BBF #9B78CF #BDA5DF
Accessibility & contrast
On white
5.86
#7A4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#7A4BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4BBF
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4BBF | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#1E64BC
Tritanopia (blue-blind)
#6B647E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7a4bbf; /* rgb */ color: rgb(122, 75, 191); /* oklch */ color: oklch(52.5% 0.175 298.9);
Tailwind
colors: {
custom: {
50: '#a57fd3',
500: '#7a4bbf',
950: '#000000',
},
}SCSS
$custom: #7a4bbf; $custom-light: #a57fd3; $custom-dark: #000000;
JSON
{
"hex": "#7a4bbf",
"rgb": {
"r": 122,
"g": 75,
"b": 191
},
"hsl": {
"h": 264.31,
"s": 47.541,
"l": 52.157
},
"oklch": {
"l": 0.52461,
"c": 0.17491,
"h": 298.9
},
"luminance": 0.12931
}Semantic roles & 50–950 ramp
primary
#7A4BBF
secondary
#B8CC9A
accent
#D751A1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83