#7A4BBE#7A4BBE
#7A4BBE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.174 H 299.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4BBE |
|---|---|
| RGB | rgb(122, 75, 190) |
| HSL | hsl(265, 47%, 52%) |
| HSV | hsv(265, 61%, 75%) |
| CMYK | cmyk(35.8%, 60.5%, 0%, 25.5%) |
| CIE-LAB | lab(42.59, 44.02, -53.43) |
| CIE-LCH | lch(42.59, 69.23, 309.48°) |
| OKLab | oklab(52.39% 0.0846 -0.1517) |
| OKLCH | oklch(52.39% 0.174 299.1) |
| XYZ | xyz(19.8341, 12.8872, 50.1477) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.08
Bluey Purple
#6241C7
ΔE00 5.32
Light Indigo
#6D5ACF
ΔE00 5.94
Slate Blue
#6A5ACD
ΔE00 6.15
Iris
#6258C4
ΔE00 6.47
Darkorchid
#9932CC
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4BBE #8FBE4B
analogous
#4B56BE #7A4BBE #B44BBE
triadic
#7A4BBE #BE7A4B #4BBE7A
tetradic
#7A4BBE #BE4B56 #8FBE4B #4BBEB4
square
#7A4BBE #BE4B56 #8FBE4B #4BBEB4
split-complementary
#7A4BBE #BEB44B #56BE4B
monochromatic
#412669 #5D3696 #7A4BBE #9B78CE #BCA5DE
Accessibility & contrast
On white
5.87
#7A4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#7A4BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4BBE
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4BBE | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#2064BB
Tritanopia (blue-blind)
#6B647D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7a4bbe; /* rgb */ color: rgb(122, 75, 190); /* oklch */ color: oklch(52.4% 0.174 299.1);
Tailwind
colors: {
custom: {
50: '#a57fd2',
500: '#7a4bbe',
950: '#000000',
},
}SCSS
$custom: #7a4bbe; $custom-light: #a57fd2; $custom-dark: #000000;
JSON
{
"hex": "#7a4bbe",
"rgb": {
"r": 122,
"g": 75,
"b": 190
},
"hsl": {
"h": 264.522,
"s": 46.939,
"l": 51.961
},
"oklch": {
"l": 0.52392,
"c": 0.1737,
"h": 299.1
},
"luminance": 0.12887
}Semantic roles & 50–950 ramp
primary
#7A4BBE
secondary
#B7CC99
accent
#D751A0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83