#7A5CF6#7A5CF6
#7A5CF6 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.219 H 286.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5CF6 |
|---|---|
| RGB | rgb(122, 92, 246) |
| HSL | hsl(252, 90%, 66%) |
| HSV | hsv(252, 63%, 96%) |
| CMYK | cmyk(50.4%, 62.6%, 0%, 3.5%) |
| CIE-LAB | lab(50.03, 49.98, -73.31) |
| CIE-LCH | lch(50.03, 88.73, 304.28°) |
| OKLab | oklab(59.04% 0.0625 -0.2102) |
| OKLCH | oklch(59.04% 0.219 286.6) |
| XYZ | xyz(28.4828, 18.4443, 89.2302) |
| Luminance | 0.1845 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.36
Purpley
#8756E4
ΔE00 3.81
Light Indigo
#6D5ACF
ΔE00 5.92
Dark Periwinkle
#665FD1
ΔE00 6.19
Slate Blue
#6A5ACD
ΔE00 6.38
Lighter Purple
#A55AF4
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5CF6 #D8F65C
analogous
#5C8BF6 #7A5CF6 #C75CF6
triadic
#7A5CF6 #F67A5C #5CF67A
tetradic
#7A5CF6 #F65C8B #D8F65C #5CF6C7
square
#7A5CF6 #F65C8B #D8F65C #5CF6C7
split-complementary
#7A5CF6 #F6C75C #8BF65C
monochromatic
#310BCC #4B22F3 #7A5CF6 #A996F9 #D9D0FC
Accessibility & contrast
On white
4.48
#7A5CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#7A5CF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A5CF6
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A5CF6 | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0073F3
Tritanopia (blue-blind)
#4C81A1
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7a5cf6; /* rgb */ color: rgb(122, 92, 246); /* oklch */ color: oklch(59.0% 0.219 286.6);
Tailwind
colors: {
custom: {
50: '#aa8cfa',
500: '#7a5cf6',
950: '#000000',
},
}SCSS
$custom: #7a5cf6; $custom-light: #aa8cfa; $custom-dark: #000000;
JSON
{
"hex": "#7a5cf6",
"rgb": {
"r": 122,
"g": 92,
"b": 246
},
"hsl": {
"h": 251.688,
"s": 89.535,
"l": 66.275
},
"oklch": {
"l": 0.59044,
"c": 0.21928,
"h": 286.6
},
"luminance": 0.18446
}Semantic roles & 50–950 ramp
primary
#7A5CF6
secondary
#E6F0BE
accent
#E600B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85