#7A5AF3#7A5AF3
#7A5AF3 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.5% C 0.218 H 287.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5AF3 |
|---|---|
| RGB | rgb(122, 90, 243) |
| HSL | hsl(253, 86%, 65%) |
| HSV | hsv(253, 63%, 95%) |
| CMYK | cmyk(49.8%, 63%, 0%, 4.7%) |
| CIE-LAB | lab(49.40, 50.23, -72.67) |
| CIE-LCH | lch(49.40, 88.34, 304.65°) |
| OKLab | oklab(58.52% 0.0647 -0.2083) |
| OKLCH | oklch(58.52% 0.218 287.2) |
| XYZ | xyz(27.8551, 17.9197, 86.7678) |
| Luminance | 0.1792 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.30
Mediumslateblue
#7B68EE
ΔE00 3.88
Light Indigo
#6D5ACF
ΔE00 5.45
Slate Blue
#6A5ACD
ΔE00 5.94
Dark Periwinkle
#665FD1
ΔE00 5.94
Lighter Purple
#A55AF4
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5AF3 #D3F35A
analogous
#5A86F3 #7A5AF3 #C65AF3
triadic
#7A5AF3 #F37A5A #5AF37A
tetradic
#7A5AF3 #F35A86 #D3F35A #5AF3C6
square
#7A5AF3 #F35A86 #D3F35A #5AF3C6
split-complementary
#7A5AF3 #F3C65A #86F35A
monochromatic
#340EC4 #4C21EF #7A5AF3 #A893F7 #D6CCFB
Accessibility & contrast
On white
4.58
#7A5AF3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#7A5AF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A5AF3
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5AF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A5AF3 | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#0071F0
Tritanopia (blue-blind)
#4E7F9E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7a5af3; /* rgb */ color: rgb(122, 90, 243); /* oklch */ color: oklch(58.5% 0.218 287.2);
Tailwind
colors: {
custom: {
50: '#aa8af8',
500: '#7a5af3',
950: '#000000',
},
}SCSS
$custom: #7a5af3; $custom-light: #aa8af8; $custom-dark: #000000;
JSON
{
"hex": "#7a5af3",
"rgb": {
"r": 122,
"g": 90,
"b": 243
},
"hsl": {
"h": 252.549,
"s": 86.441,
"l": 65.294
},
"oklch": {
"l": 0.58516,
"c": 0.2181,
"h": 287.2
},
"luminance": 0.17921
}Semantic roles & 50–950 ramp
primary
#7A5AF3
secondary
#E3EEBB
accent
#E303B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85