#7A4FD8#7A4FD8
#7A4FD8 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.199 H 293.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4FD8 |
|---|---|
| RGB | rgb(122, 79, 216) |
| HSL | hsl(259, 64%, 58%) |
| HSV | hsv(259, 63%, 85%) |
| CMYK | cmyk(43.5%, 63.4%, 0%, 15.3%) |
| CIE-LAB | lab(45.20, 48.74, -64.22) |
| CIE-LCH | lch(45.20, 80.62, 307.19°) |
| OKLab | oklab(54.86% 0.0783 -0.1835) |
| OKLCH | oklch(54.86% 0.199 293.1) |
| XYZ | xyz(23.2133, 14.6867, 66.5642) |
| Luminance | 0.1469 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.54
Light Indigo
#6D5ACF
ΔE00 3.99
Slate Blue
#6A5ACD
ΔE00 4.45
Bluish Purple
#703BE7
ΔE00 4.85
Purpleish Blue
#6140EF
ΔE00 5.59
Iris
#6258C4
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4FD8 #ADD84F
analogous
#4F68D8 #7A4FD8 #BE4FD8
triadic
#7A4FD8 #D87A4F #4FD87A
tetradic
#7A4FD8 #D84F68 #ADD84F #4FD8BE
square
#7A4FD8 #D84F68 #ADD84F #4FD8BE
split-complementary
#7A4FD8 #D8BE4F #68D84F
monochromatic
#421F8D #592ABF #7A4FD8 #A081E3 #C6B3EE
Accessibility & contrast
On white
5.33
#7A4FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#7A4FD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4FD8
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4FD8 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#5F6F8C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7a4fd8; /* rgb */ color: rgb(122, 79, 216); /* oklch */ color: oklch(54.9% 0.199 293.1);
Tailwind
colors: {
custom: {
50: '#a783e5',
500: '#7a4fd8',
950: '#000000',
},
}SCSS
$custom: #7a4fd8; $custom-light: #a783e5; $custom-dark: #000000;
JSON
{
"hex": "#7a4fd8",
"rgb": {
"r": 122,
"g": 79,
"b": 216
},
"hsl": {
"h": 258.832,
"s": 63.721,
"l": 57.843
},
"oklch": {
"l": 0.54857,
"c": 0.19949,
"h": 293.1
},
"luminance": 0.14687
}Semantic roles & 50–950 ramp
primary
#7A4FD8
secondary
#CCDDA6
accent
#E741B3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84