#7A4FDA#7A4FDA
#7A4FDA is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.0% C 0.202 H 292.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4FDA |
|---|---|
| RGB | rgb(122, 79, 218) |
| HSL | hsl(259, 65%, 58%) |
| HSV | hsv(259, 64%, 85%) |
| CMYK | cmyk(44%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(45.35, 49.28, -65.13) |
| CIE-LCH | lch(45.35, 81.67, 307.11°) |
| OKLab | oklab(55.01% 0.0782 -0.1861) |
| OKLCH | oklch(55.01% 0.202 292.8) |
| XYZ | xyz(23.4734, 14.7908, 67.9342) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.40
Light Indigo
#6D5ACF
ΔE00 4.03
Slate Blue
#6A5ACD
ΔE00 4.50
Bluish Purple
#703BE7
ΔE00 4.78
Purpleish Blue
#6140EF
ΔE00 5.46
Iris
#6258C4
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4FDA #AFDA4F
analogous
#4F69DA #7A4FDA #BF4FDA
triadic
#7A4FDA #DA7A4F #4FDA7A
tetradic
#7A4FDA #DA4F69 #AFDA4F #4FDABF
square
#7A4FDA #DA4F69 #AFDA4F #4FDABF
split-complementary
#7A4FDA #DABF4F #69DA4F
monochromatic
#421E90 #5929C3 #7A4FDA #A082E5 #C6B4EF
Accessibility & contrast
On white
5.31
#7A4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#7A4FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4FDA
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4FDA | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#5E708D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7a4fda; /* rgb */ color: rgb(122, 79, 218); /* oklch */ color: oklch(55.0% 0.202 292.8);
Tailwind
colors: {
custom: {
50: '#a783e6',
500: '#7a4fda',
950: '#000000',
},
}SCSS
$custom: #7a4fda; $custom-light: #a783e6; $custom-dark: #000000;
JSON
{
"hex": "#7a4fda",
"rgb": {
"r": 122,
"g": 79,
"b": 218
},
"hsl": {
"h": 258.561,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.55007,
"c": 0.20187,
"h": 292.8
},
"luminance": 0.14791
}Semantic roles & 50–950 ramp
primary
#7A4FDA
secondary
#CDDEA7
accent
#E840B4
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84