#7A4FD2#7A4FD2
#7A4FD2 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.192 H 294.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4FD2 |
|---|---|
| RGB | rgb(122, 79, 210) |
| HSL | hsl(260, 59%, 57%) |
| HSV | hsv(260, 62%, 82%) |
| CMYK | cmyk(41.9%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(44.78, 47.12, -61.48) |
| CIE-LCH | lch(44.78, 77.46, 307.47°) |
| OKLab | oklab(54.41% 0.0788 -0.1754) |
| OKLCH | oklch(54.41% 0.192 294.2) |
| XYZ | xyz(22.4518, 14.3821, 62.5534) |
| Luminance | 0.1438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.96
Purpley
#8756E4
ΔE00 4.04
Slate Blue
#6A5ACD
ΔE00 4.39
Bluish Purple
#703BE7
ΔE00 5.17
Iris
#6258C4
ΔE00 5.54
Bluey Purple
#6241C7
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4FD2 #A7D24F
analogous
#4F66D2 #7A4FD2 #BC4FD2
triadic
#7A4FD2 #D27A4F #4FD27A
tetradic
#7A4FD2 #D24F66 #A7D24F #4FD2BC
square
#7A4FD2 #D24F66 #A7D24F #4FD2BC
split-complementary
#7A4FD2 #D2BC4F #66D24F
monochromatic
#422285 #5B2EB5 #7A4FD2 #9F80DE #C4B0EB
Accessibility & contrast
On white
5.42
#7A4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#7A4FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4FD2
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4FD2 | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#626D89
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7a4fd2; /* rgb */ color: rgb(122, 79, 210); /* oklch */ color: oklch(54.4% 0.192 294.2);
Tailwind
colors: {
custom: {
50: '#a682e1',
500: '#7a4fd2',
950: '#000000',
},
}SCSS
$custom: #7a4fd2; $custom-light: #a682e1; $custom-dark: #000000;
JSON
{
"hex": "#7a4fd2",
"rgb": {
"r": 122,
"g": 79,
"b": 210
},
"hsl": {
"h": 259.695,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.54413,
"c": 0.19229,
"h": 294.2
},
"luminance": 0.14383
}Semantic roles & 50–950 ramp
primary
#7A4FD2
secondary
#C8D9A4
accent
#E245AF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83