#7A4FF0#7A4FF0
#7A4FF0 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.228 H 289.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4FF0 |
|---|---|
| RGB | rgb(122, 79, 240) |
| HSL | hsl(256, 84%, 63%) |
| HSV | hsv(256, 67%, 94%) |
| CMYK | cmyk(49.2%, 67.1%, 0%, 5.9%) |
| CIE-LAB | lab(47.00, 55.28, -74.89) |
| CIE-LCH | lch(47.00, 93.08, 306.43°) |
| OKLab | oklab(56.72% 0.0754 -0.2148) |
| OKLCH | oklch(56.72% 0.228 289.3) |
| XYZ | xyz(26.5457, 16.0197, 84.1146) |
| Luminance | 0.1602 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.18
Bluish Purple
#703BE7
ΔE00 5.18
Purpleish Blue
#6140EF
ΔE00 5.18
Light Indigo
#6D5ACF
ΔE00 5.46
Slate Blue
#6A5ACD
ΔE00 5.93
Mediumslateblue
#7B68EE
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4FF0 #C5F04F
analogous
#4F74F0 #7A4FF0 #CB4FF0
triadic
#7A4FF0 #F07A4F #4FF07A
tetradic
#7A4FF0 #F04F74 #C5F04F #4FF0CB
square
#7A4FF0 #F04F74 #C5F04F #4FF0CB
split-complementary
#7A4FF0 #F0CB4F #74F04F
monochromatic
#3C0FB5 #4F17EB #7A4FF0 #A587F5 #CFC0FA
Accessibility & contrast
On white
5.00
#7A4FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#7A4FF0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4FF0
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4FF0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4FF0 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F5
Deuteranopia (green-blind)
#006BED
Tritanopia (blue-blind)
#517799
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7a4ff0; /* rgb */ color: rgb(122, 79, 240); /* oklch */ color: oklch(56.7% 0.228 289.3);
Tailwind
colors: {
custom: {
50: '#aa83f6',
500: '#7a4ff0',
950: '#000000',
},
}SCSS
$custom: #7a4ff0; $custom-light: #aa83f6; $custom-dark: #000000;
JSON
{
"hex": "#7a4ff0",
"rgb": {
"r": 122,
"g": 79,
"b": 240
},
"hsl": {
"h": 256.025,
"s": 84.293,
"l": 62.549
},
"oklch": {
"l": 0.56715,
"c": 0.22767,
"h": 289.3
},
"luminance": 0.16021
}Semantic roles & 50–950 ramp
primary
#7A4FF0
secondary
#DBEBB0
accent
#E105A6
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85