#7A4FD7#7A4FD7
#7A4FD7 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.198 H 293.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4FD7 |
|---|---|
| RGB | rgb(122, 79, 215) |
| HSL | hsl(259, 63%, 58%) |
| HSV | hsv(259, 63%, 84%) |
| CMYK | cmyk(43.3%, 63.3%, 0%, 15.7%) |
| CIE-LAB | lab(45.13, 48.47, -63.77) |
| CIE-LCH | lch(45.13, 80.09, 307.24°) |
| OKLab | oklab(54.78% 0.0784 -0.1821) |
| OKLCH | oklch(54.78% 0.198 293.3) |
| XYZ | xyz(23.0844, 14.6352, 65.8854) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.62
Light Indigo
#6D5ACF
ΔE00 3.97
Slate Blue
#6A5ACD
ΔE00 4.43
Bluish Purple
#703BE7
ΔE00 4.90
Purpleish Blue
#6140EF
ΔE00 5.66
Iris
#6258C4
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4FD7 #ACD74F
analogous
#4F68D7 #7A4FD7 #BE4FD7
triadic
#7A4FD7 #D77A4F #4FD77A
tetradic
#7A4FD7 #D74F68 #ACD74F #4FD7BE
square
#7A4FD7 #D74F68 #ACD74F #4FD7BE
split-complementary
#7A4FD7 #D7BE4F #68D74F
monochromatic
#42208C #592BBE #7A4FD7 #A081E2 #C5B3EE
Accessibility & contrast
On white
5.35
#7A4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#7A4FD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4FD7
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4FD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4FD7 | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#606F8C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7a4fd7; /* rgb */ color: rgb(122, 79, 215); /* oklch */ color: oklch(54.8% 0.198 293.3);
Tailwind
colors: {
custom: {
50: '#a783e4',
500: '#7a4fd7',
950: '#000000',
},
}SCSS
$custom: #7a4fd7; $custom-light: #a783e4; $custom-dark: #000000;
JSON
{
"hex": "#7a4fd7",
"rgb": {
"r": 122,
"g": 79,
"b": 215
},
"hsl": {
"h": 258.971,
"s": 62.963,
"l": 57.647
},
"oklch": {
"l": 0.54782,
"c": 0.19829,
"h": 293.3
},
"luminance": 0.14636
}Semantic roles & 50–950 ramp
primary
#7A4FD7
secondary
#CBDCA6
accent
#E642B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84