#7A4CDC#7A4CDC
#7A4CDC is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.208 H 292.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4CDC |
|---|---|
| RGB | rgb(122, 76, 220) |
| HSL | hsl(259, 67%, 58%) |
| HSV | hsv(259, 65%, 86%) |
| CMYK | cmyk(44.5%, 65.5%, 0%, 13.7%) |
| CIE-LAB | lab(44.90, 51.42, -66.99) |
| CIE-LCH | lch(44.90, 84.45, 307.51°) |
| OKLab | oklab(54.73% 0.081 -0.1916) |
| OKLCH | oklch(54.73% 0.208 292.9) |
| XYZ | xyz(23.5252, 14.4730, 69.2503) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.80
Bluish Purple
#703BE7
ΔE00 4.09
Light Indigo
#6D5ACF
ΔE00 4.64
Purpleish Blue
#6140EF
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 5.07
Bluey Purple
#6241C7
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4CDC #AEDC4C
analogous
#4C66DC #7A4CDC #C24CDC
triadic
#7A4CDC #DC7A4C #4CDC7A
tetradic
#7A4CDC #DC4C66 #AEDC4C #4CDCC2
square
#7A4CDC #DC4C66 #AEDC4C #4CDCC2
split-complementary
#7A4CDC #DCC24C #66DC4C
monochromatic
#421C91 #5926C4 #7A4CDC #A07FE6 #C6B2F0
Accessibility & contrast
On white
5.39
#7A4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#7A4CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4CDC
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4CDC | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#5E6F8D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7a4cdc; /* rgb */ color: rgb(122, 76, 220); /* oklch */ color: oklch(54.7% 0.208 292.9);
Tailwind
colors: {
custom: {
50: '#a881e8',
500: '#7a4cdc',
950: '#000000',
},
}SCSS
$custom: #7a4cdc; $custom-light: #a881e8; $custom-dark: #000000;
JSON
{
"hex": "#7a4cdc",
"rgb": {
"r": 122,
"g": 76,
"b": 220
},
"hsl": {
"h": 259.167,
"s": 67.29,
"l": 58.039
},
"oklch": {
"l": 0.54733,
"c": 0.20802,
"h": 292.9
},
"luminance": 0.14474
}Semantic roles & 50–950 ramp
primary
#7A4CDC
secondary
#CCDFA5
accent
#EA3EB3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84