#7A4FC7#7A4FC7
#7A4FC7 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.6% C 0.179 H 296.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4FC7 |
|---|---|
| RGB | rgb(122, 79, 199) |
| HSL | hsl(262, 52%, 55%) |
| HSV | hsv(262, 60%, 78%) |
| CMYK | cmyk(38.7%, 60.3%, 0%, 22%) |
| CIE-LAB | lab(44.02, 44.17, -56.36) |
| CIE-LCH | lch(44.02, 71.61, 308.09°) |
| OKLab | oklab(53.62% 0.0795 -0.1603) |
| OKLCH | oklch(53.62% 0.179 296.4) |
| XYZ | xyz(21.1282, 13.8527, 55.5824) |
| Luminance | 0.1385 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.42
Slate Blue
#6A5ACD
ΔE00 4.74
Royal Purple
#7851A9
ΔE00 5.17
Purpley
#8756E4
ΔE00 5.23
Iris
#6258C4
ΔE00 5.51
Bluey Purple
#6241C7
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4FC7 #9CC74F
analogous
#4F60C7 #7A4FC7 #B64FC7
triadic
#7A4FC7 #C77A4F #4FC77A
tetradic
#7A4FC7 #C74F60 #9CC74F #4FC7B6
square
#7A4FC7 #C74F60 #9CC74F #4FC7B6
split-complementary
#7A4FC7 #C7B64F #60C74F
monochromatic
#422676 #5D34A4 #7A4FC7 #9D7DD6 #C0ACE5
Accessibility & contrast
On white
5.57
#7A4FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#7A4FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4FC7
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4FC7 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#1766C4
Tritanopia (blue-blind)
#676983
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7a4fc7; /* rgb */ color: rgb(122, 79, 199); /* oklch */ color: oklch(53.6% 0.179 296.4);
Tailwind
colors: {
custom: {
50: '#a582d9',
500: '#7a4fc7',
950: '#000000',
},
}SCSS
$custom: #7a4fc7; $custom-light: #a582d9; $custom-dark: #000000;
JSON
{
"hex": "#7a4fc7",
"rgb": {
"r": 122,
"g": 79,
"b": 199
},
"hsl": {
"h": 261.5,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.53624,
"c": 0.17895,
"h": 296.4
},
"luminance": 0.13853
}Semantic roles & 50–950 ramp
primary
#7A4FC7
secondary
#C0D2A0
accent
#DB4DA8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B15
muted
#7F7C83