#7A5BF5#7A5BF5
#7A5BF5 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.8% C 0.219 H 286.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5BF5 |
|---|---|
| RGB | rgb(122, 91, 245) |
| HSL | hsl(252, 89%, 66%) |
| HSV | hsv(252, 63%, 96%) |
| CMYK | cmyk(50.2%, 62.9%, 0%, 3.9%) |
| CIE-LAB | lab(49.75, 50.25, -73.21) |
| CIE-LCH | lch(49.75, 88.79, 304.46°) |
| OKLab | oklab(58.82% 0.0635 -0.2099) |
| OKLCH | oklch(58.82% 0.219 286.8) |
| XYZ | xyz(28.2437, 18.2110, 88.3954) |
| Luminance | 0.1821 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.59
Mediumslateblue
#7B68EE
ΔE00 3.61
Light Indigo
#6D5ACF
ΔE00 5.74
Dark Periwinkle
#665FD1
ΔE00 6.10
Slate Blue
#6A5ACD
ΔE00 6.21
Lighter Purple
#A55AF4
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5BF5 #D6F55B
analogous
#5B89F5 #7A5BF5 #C75BF5
triadic
#7A5BF5 #F57A5B #5BF57A
tetradic
#7A5BF5 #F55B89 #D6F55B #5BF5C7
square
#7A5BF5 #F55B89 #D6F55B #5BF5C7
split-complementary
#7A5BF5 #F5C75B #89F55B
monochromatic
#320CC9 #4B21F1 #7A5BF5 #A995F9 #D8CEFC
Accessibility & contrast
On white
4.52
#7A5BF5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#7A5BF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A5BF5
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5BF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A5BF5 | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AFA
Deuteranopia (green-blind)
#0072F2
Tritanopia (blue-blind)
#4C80A0
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7a5bf5; /* rgb */ color: rgb(122, 91, 245); /* oklch */ color: oklch(58.8% 0.219 286.8);
Tailwind
colors: {
custom: {
50: '#aa8bf9',
500: '#7a5bf5',
950: '#000000',
},
}SCSS
$custom: #7a5bf5; $custom-light: #aa8bf9; $custom-dark: #000000;
JSON
{
"hex": "#7a5bf5",
"rgb": {
"r": 122,
"g": 91,
"b": 245
},
"hsl": {
"h": 252.078,
"s": 88.506,
"l": 65.882
},
"oklch": {
"l": 0.58818,
"c": 0.21929,
"h": 286.8
},
"luminance": 0.18212
}Semantic roles & 50–950 ramp
primary
#7A5BF5
secondary
#E5EFBC
accent
#E500B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85