#7A4CDE#7A4CDE
#7A4CDE is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.210 H 292.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4CDE |
|---|---|
| RGB | rgb(122, 76, 222) |
| HSL | hsl(259, 69%, 58%) |
| HSV | hsv(259, 66%, 87%) |
| CMYK | cmyk(45%, 65.8%, 0%, 12.9%) |
| CIE-LAB | lab(45.05, 51.95, -67.89) |
| CIE-LCH | lch(45.05, 85.48, 307.43°) |
| OKLab | oklab(54.89% 0.0808 -0.1942) |
| OKLCH | oklch(54.89% 0.21 292.6) |
| XYZ | xyz(23.7917, 14.5796, 70.6537) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.70
Bluish Purple
#703BE7
ΔE00 4.04
Light Indigo
#6D5ACF
ΔE00 4.70
Purpleish Blue
#6140EF
ΔE00 4.84
Slate Blue
#6A5ACD
ΔE00 5.13
Blueviolet
#8A2BE2
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4CDE #B0DE4C
analogous
#4C67DE #7A4CDE #C34CDE
triadic
#7A4CDE #DE7A4C #4CDE7A
tetradic
#7A4CDE #DE4C67 #B0DE4C #4CDEC3
square
#7A4CDE #DE4C67 #B0DE4C #4CDEC3
split-complementary
#7A4CDE #DEC34C #67DE4C
monochromatic
#411B94 #5825C8 #7A4CDE #A080E8 #C7B3F1
Accessibility & contrast
On white
5.36
#7A4CDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#7A4CDE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4CDE
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4CDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4CDE | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#5C6F8F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7a4cde; /* rgb */ color: rgb(122, 76, 222); /* oklch */ color: oklch(54.9% 0.210 292.6);
Tailwind
colors: {
custom: {
50: '#a881e9',
500: '#7a4cde',
950: '#000000',
},
}SCSS
$custom: #7a4cde; $custom-light: #a881e9; $custom-dark: #000000;
JSON
{
"hex": "#7a4cde",
"rgb": {
"r": 122,
"g": 76,
"b": 222
},
"hsl": {
"h": 258.904,
"s": 68.868,
"l": 58.431
},
"oklch": {
"l": 0.54888,
"c": 0.21035,
"h": 292.6
},
"luminance": 0.1458
}Semantic roles & 50–950 ramp
primary
#7A4CDE
secondary
#CEE0A6
accent
#EC3CB4
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100A16
muted
#7F7C84