#7A4FC5#7A4FC5
#7A4FC5 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.177 H 296.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4FC5 |
|---|---|
| RGB | rgb(122, 79, 197) |
| HSL | hsl(262, 50%, 54%) |
| HSV | hsv(262, 60%, 77%) |
| CMYK | cmyk(38.1%, 59.9%, 0%, 22.7%) |
| CIE-LAB | lab(43.89, 43.64, -55.41) |
| CIE-LCH | lch(43.89, 70.54, 308.22°) |
| OKLab | oklab(53.48% 0.0796 -0.1576) |
| OKLCH | oklch(53.48% 0.177 296.8) |
| XYZ | xyz(20.8975, 13.7604, 54.3675) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.57
Royal Purple
#7851A9
ΔE00 4.86
Slate Blue
#6A5ACD
ΔE00 4.87
Purpley
#8756E4
ΔE00 5.47
Iris
#6258C4
ΔE00 5.56
Bluey Purple
#6241C7
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4FC5 #9AC54F
analogous
#4F5FC5 #7A4FC5 #B54FC5
triadic
#7A4FC5 #C57A4F #4FC57A
tetradic
#7A4FC5 #C54F5F #9AC54F #4FC5B5
square
#7A4FC5 #C54F5F #9AC54F #4FC5B5
split-complementary
#7A4FC5 #C5B54F #5FC54F
monochromatic
#422674 #5D35A2 #7A4FC5 #9D7DD4 #C0ABE3
Accessibility & contrast
On white
5.60
#7A4FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#7A4FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4FC5
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4FC5 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#1C66C2
Tritanopia (blue-blind)
#686982
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7a4fc5; /* rgb */ color: rgb(122, 79, 197); /* oklch */ color: oklch(53.5% 0.177 296.8);
Tailwind
colors: {
custom: {
50: '#a582d7',
500: '#7a4fc5',
950: '#000000',
},
}SCSS
$custom: #7a4fc5; $custom-light: #a582d7; $custom-dark: #000000;
JSON
{
"hex": "#7a4fc5",
"rgb": {
"r": 122,
"g": 79,
"b": 197
},
"hsl": {
"h": 261.864,
"s": 50.427,
"l": 54.118
},
"oklch": {
"l": 0.53484,
"c": 0.17651,
"h": 296.8
},
"luminance": 0.13761
}Semantic roles & 50–950 ramp
primary
#7A4FC5
secondary
#BFD19F
accent
#DA4EA7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83