#7A4CD9#7A4CD9
#7A4CD9 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.205 H 293.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4CD9 |
|---|---|
| RGB | rgb(122, 76, 217) |
| HSL | hsl(260, 65%, 57%) |
| HSV | hsv(260, 65%, 85%) |
| CMYK | cmyk(43.8%, 65%, 0%, 14.9%) |
| CIE-LAB | lab(44.68, 50.61, -65.64) |
| CIE-LCH | lch(44.68, 82.88, 307.63°) |
| OKLab | oklab(54.5% 0.0814 -0.1876) |
| OKLCH | oklch(54.5% 0.205 293.4) |
| XYZ | xyz(23.1315, 14.3156, 67.1766) |
| Luminance | 0.1432 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.98
Bluish Purple
#703BE7
ΔE00 4.19
Light Indigo
#6D5ACF
ΔE00 4.57
Slate Blue
#6A5ACD
ΔE00 4.99
Purpleish Blue
#6140EF
ΔE00 5.13
Bluey Purple
#6241C7
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4CD9 #ABD94C
analogous
#4C65D9 #7A4CD9 #C04CD9
triadic
#7A4CD9 #D97A4C #4CD97A
tetradic
#7A4CD9 #D94C65 #ABD94C #4CD9C0
square
#7A4CD9 #D94C65 #ABD94C #4CD9C0
split-complementary
#7A4CD9 #D9C04C #65D94C
monochromatic
#421E8D #5A29BF #7A4CD9 #A07EE4 #C5B1EE
Accessibility & contrast
On white
5.44
#7A4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#7A4CD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4CD9
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4CD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4CD9 | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#5F6E8C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7a4cd9; /* rgb */ color: rgb(122, 76, 217); /* oklch */ color: oklch(54.5% 0.205 293.4);
Tailwind
colors: {
custom: {
50: '#a781e6',
500: '#7a4cd9',
950: '#000000',
},
}SCSS
$custom: #7a4cd9; $custom-light: #a781e6; $custom-dark: #000000;
JSON
{
"hex": "#7a4cd9",
"rgb": {
"r": 122,
"g": 76,
"b": 217
},
"hsl": {
"h": 259.574,
"s": 64.977,
"l": 57.451
},
"oklch": {
"l": 0.54504,
"c": 0.20451,
"h": 293.4
},
"luminance": 0.14316
}Semantic roles & 50–950 ramp
primary
#7A4CD9
secondary
#CADDA4
accent
#E840B1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84