#7A4CDF#7A4CDF
#7A4CDF is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.212 H 292.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4CDF |
|---|---|
| RGB | rgb(122, 76, 223) |
| HSL | hsl(259, 70%, 59%) |
| HSV | hsv(259, 66%, 87%) |
| CMYK | cmyk(45.3%, 65.9%, 0%, 12.5%) |
| CIE-LAB | lab(45.13, 52.22, -68.33) |
| CIE-LCH | lch(45.13, 86.00, 307.39°) |
| OKLab | oklab(54.97% 0.0806 -0.1955) |
| OKLCH | oklch(54.97% 0.212 292.4) |
| XYZ | xyz(23.9261, 14.6334, 71.3616) |
| Luminance | 0.1463 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.66
Bluish Purple
#703BE7
ΔE00 4.03
Light Indigo
#6D5ACF
ΔE00 4.73
Purpleish Blue
#6140EF
ΔE00 4.79
Slate Blue
#6A5ACD
ΔE00 5.17
Blueviolet
#8A2BE2
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4CDF #B1DF4C
analogous
#4C67DF #7A4CDF #C44CDF
triadic
#7A4CDF #DF7A4C #4CDF7A
tetradic
#7A4CDF #DF4C67 #B1DF4C #4CDFC4
square
#7A4CDF #DF4C67 #B1DF4C #4CDFC4
split-complementary
#7A4CDF #DFC44C #67DF4C
monochromatic
#411B96 #5824CA #7A4CDF #A180E8 #C7B4F2
Accessibility & contrast
On white
5.35
#7A4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#7A4CDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4CDF
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4CDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4CDF | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#5C708F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7a4cdf; /* rgb */ color: rgb(122, 76, 223); /* oklch */ color: oklch(55.0% 0.212 292.4);
Tailwind
colors: {
custom: {
50: '#a881ea',
500: '#7a4cdf',
950: '#000000',
},
}SCSS
$custom: #7a4cdf; $custom-light: #a881ea; $custom-dark: #000000;
JSON
{
"hex": "#7a4cdf",
"rgb": {
"r": 122,
"g": 76,
"b": 223
},
"hsl": {
"h": 258.776,
"s": 69.668,
"l": 58.627
},
"oklch": {
"l": 0.54965,
"c": 0.21152,
"h": 292.4
},
"luminance": 0.14634
}Semantic roles & 50–950 ramp
primary
#7A4CDF
secondary
#CEE0A6
accent
#EC3BB5
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84