#7A4CC3#7A4CC3
#7A4CC3 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.178 H 297.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4CC3 |
|---|---|
| RGB | rgb(122, 76, 195) |
| HSL | hsl(263, 50%, 53%) |
| HSV | hsv(263, 61%, 76%) |
| CMYK | cmyk(37.4%, 61%, 0%, 23.5%) |
| CIE-LAB | lab(43.13, 44.77, -55.47) |
| CIE-LCH | lch(43.13, 71.28, 308.91°) |
| OKLab | oklab(52.89% 0.0832 -0.1577) |
| OKLCH | oklch(52.89% 0.178 297.8) |
| XYZ | xyz(20.4583, 13.2463, 53.0981) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.72
Bluey Purple
#6241C7
ΔE00 5.18
Light Indigo
#6D5ACF
ΔE00 5.30
Slate Blue
#6A5ACD
ΔE00 5.56
Iris
#6258C4
ΔE00 6.07
Purpley
#8756E4
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4CC3 #95C34C
analogous
#4C59C3 #7A4CC3 #B54CC3
triadic
#7A4CC3 #C37A4C #4CC37A
tetradic
#7A4CC3 #C34C59 #95C34C #4CC3B5
square
#7A4CC3 #C34C59 #95C34C #4CC3B5
split-complementary
#7A4CC3 #C3B54C #59C34C
monochromatic
#42256F #5D359D #7A4CC3 #9C7AD2 #BEA8E2
Accessibility & contrast
On white
5.75
#7A4CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#7A4CC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4CC3
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4CC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4CC3 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#1865C0
Tritanopia (blue-blind)
#696680
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7a4cc3; /* rgb */ color: rgb(122, 76, 195); /* oklch */ color: oklch(52.9% 0.178 297.8);
Tailwind
colors: {
custom: {
50: '#a580d6',
500: '#7a4cc3',
950: '#000000',
},
}SCSS
$custom: #7a4cc3; $custom-light: #a580d6; $custom-dark: #000000;
JSON
{
"hex": "#7a4cc3",
"rgb": {
"r": 122,
"g": 76,
"b": 195
},
"hsl": {
"h": 263.193,
"s": 49.791,
"l": 53.137
},
"oklch": {
"l": 0.52891,
"c": 0.17832,
"h": 297.8
},
"luminance": 0.13247
}Semantic roles & 50–950 ramp
primary
#7A4CC3
secondary
#BBCF9C
accent
#D94EA4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83