#7A5FF6#7A5FF6
#7A5FF6 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.5% C 0.216 H 286.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5FF6 |
|---|---|
| RGB | rgb(122, 95, 246) |
| HSL | hsl(251, 89%, 67%) |
| HSV | hsv(251, 61%, 96%) |
| CMYK | cmyk(50.4%, 61.4%, 0%, 3.5%) |
| CIE-LAB | lab(50.66, 48.31, -72.30) |
| CIE-LCH | lch(50.66, 86.95, 303.75°) |
| OKLab | oklab(59.5% 0.0596 -0.2072) |
| OKLCH | oklch(59.5% 0.216 286) |
| XYZ | xyz(28.7479, 18.9744, 89.3186) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.61
Purpley
#8756E4
ΔE00 4.29
Light Indigo
#6D5ACF
ΔE00 6.17
Dark Periwinkle
#665FD1
ΔE00 6.21
Slate Blue
#6A5ACD
ΔE00 6.62
Lighter Purple
#A55AF4
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5FF6 #DBF65F
analogous
#5F90F6 #7A5FF6 #C55FF6
triadic
#7A5FF6 #F67A5F #5FF67A
tetradic
#7A5FF6 #F65F90 #DBF65F #5FF6C5
square
#7A5FF6 #F65F90 #DBF65F #5FF6C5
split-complementary
#7A5FF6 #F6C55F #90F65F
monochromatic
#2F0CCF #4A25F3 #7A5FF6 #AA99F9 #DAD3FD
Accessibility & contrast
On white
4.38
#7A5FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#7A5FF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A5FF6
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A5FF6 | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0074F3
Tritanopia (blue-blind)
#4B83A2
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7a5ff6; /* rgb */ color: rgb(122, 95, 246); /* oklch */ color: oklch(59.5% 0.216 286.0);
Tailwind
colors: {
custom: {
50: '#aa8efa',
500: '#7a5ff6',
950: '#000000',
},
}SCSS
$custom: #7a5ff6; $custom-light: #aa8efa; $custom-dark: #000000;
JSON
{
"hex": "#7a5ff6",
"rgb": {
"r": 122,
"g": 95,
"b": 246
},
"hsl": {
"h": 250.728,
"s": 89.349,
"l": 66.863
},
"oklch": {
"l": 0.595,
"c": 0.21558,
"h": 286
},
"luminance": 0.18976
}Semantic roles & 50–950 ramp
primary
#7A5FF6
secondary
#E8F1C0
accent
#E600BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85