#7A4CD1#7A4CD1
#7A4CD1 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.195 H 294.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4CD1 |
|---|---|
| RGB | rgb(122, 76, 209) |
| HSL | hsl(261, 59%, 56%) |
| HSV | hsv(261, 64%, 82%) |
| CMYK | cmyk(41.6%, 63.6%, 0%, 18%) |
| CIE-LAB | lab(44.10, 48.47, -61.99) |
| CIE-LCH | lch(44.10, 78.69, 308.02°) |
| OKLab | oklab(53.9% 0.0822 -0.1769) |
| OKLCH | oklch(53.9% 0.195 294.9) |
| XYZ | xyz(22.1160, 13.9094, 61.8288) |
| Luminance | 0.1391 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.59
Purpley
#8756E4
ΔE00 4.60
Bluish Purple
#703BE7
ΔE00 4.68
Slate Blue
#6A5ACD
ΔE00 4.96
Bluey Purple
#6241C7
ΔE00 5.15
Purpleish Blue
#6140EF
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4CD1 #A3D14C
analogous
#4C60D1 #7A4CD1 #BC4CD1
triadic
#7A4CD1 #D17A4C #4CD17A
tetradic
#7A4CD1 #D14C60 #A3D14C #4CD1BC
square
#7A4CD1 #D14C60 #A3D14C #4CD1BC
split-complementary
#7A4CD1 #D1BC4C #60D14C
monochromatic
#422181 #5C2EB2 #7A4CD1 #9E7DDE #C2ADEA
Accessibility & contrast
On white
5.55
#7A4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#7A4CD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4CD1
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4CD1 | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#636B88
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7a4cd1; /* rgb */ color: rgb(122, 76, 209); /* oklch */ color: oklch(53.9% 0.195 294.9);
Tailwind
colors: {
custom: {
50: '#a780e0',
500: '#7a4cd1',
950: '#000000',
},
}SCSS
$custom: #7a4cd1; $custom-light: #a780e0; $custom-dark: #000000;
JSON
{
"hex": "#7a4cd1",
"rgb": {
"r": 122,
"g": 76,
"b": 209
},
"hsl": {
"h": 260.752,
"s": 59.111,
"l": 55.882
},
"oklch": {
"l": 0.53903,
"c": 0.19507,
"h": 294.9
},
"luminance": 0.1391
}Semantic roles & 50–950 ramp
primary
#7A4CD1
secondary
#C5D8A1
accent
#E246AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83