#7A4BB9#7A4BB9
#7A4BB9 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.0% C 0.168 H 300.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4BB9 |
|---|---|
| RGB | rgb(122, 75, 185) |
| HSL | hsl(266, 44%, 51%) |
| HSV | hsv(266, 59%, 73%) |
| CMYK | cmyk(34.1%, 59.5%, 0%, 27.5%) |
| CIE-LAB | lab(42.27, 42.72, -51.03) |
| CIE-LCH | lch(42.27, 66.56, 309.94°) |
| OKLab | oklab(52.05% 0.0847 -0.1447) |
| OKLCH | oklch(52.05% 0.168 300.4) |
| XYZ | xyz(19.2970, 12.6724, 47.3189) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.37
Bluey Purple
#6241C7
ΔE00 5.72
Light Indigo
#6D5ACF
ΔE00 6.46
Slate Blue
#6A5ACD
ΔE00 6.64
Purply
#983FB2
ΔE00 6.78
Darkorchid
#9932CC
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4BB9 #8AB94B
analogous
#4B53B9 #7A4BB9 #B14BB9
triadic
#7A4BB9 #B97A4B #4BB97A
tetradic
#7A4BB9 #B94B53 #8AB94B #4BB9B1
square
#7A4BB9 #B94B53 #8AB94B #4BB9B1
split-complementary
#7A4BB9 #B9B14B #53B94B
monochromatic
#402763 #5D388F #7A4BB9 #9B77CA #BBA3DB
Accessibility & contrast
On white
5.94
#7A4BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#7A4BB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4BB9
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4BB9 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E63BD
Deuteranopia (green-blind)
#2863B7
Tritanopia (blue-blind)
#6D627B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7a4bb9; /* rgb */ color: rgb(122, 75, 185); /* oklch */ color: oklch(52.0% 0.168 300.4);
Tailwind
colors: {
custom: {
50: '#a47fcf',
500: '#7a4bb9',
950: '#000000',
},
}SCSS
$custom: #7a4bb9; $custom-light: #a47fcf; $custom-dark: #000000;
JSON
{
"hex": "#7a4bb9",
"rgb": {
"r": 122,
"g": 75,
"b": 185
},
"hsl": {
"h": 265.636,
"s": 44,
"l": 50.98
},
"oklch": {
"l": 0.52048,
"c": 0.16766,
"h": 300.4
},
"luminance": 0.12673
}Semantic roles & 50–950 ramp
primary
#7A4BB9
secondary
#B3C898
accent
#D4549D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82