#7A5FF5#7A5FF5
#7A5FF5 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.4% C 0.214 H 286.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5FF5 |
|---|---|
| RGB | rgb(122, 95, 245) |
| HSL | hsl(251, 88%, 67%) |
| HSV | hsv(251, 61%, 96%) |
| CMYK | cmyk(50.2%, 61.2%, 0%, 3.9%) |
| CIE-LAB | lab(50.59, 48.03, -71.85) |
| CIE-LCH | lch(50.59, 86.43, 303.76°) |
| OKLab | oklab(59.43% 0.0596 -0.2059) |
| OKLCH | oklch(59.43% 0.214 286.1) |
| XYZ | xyz(28.5948, 18.9132, 88.5124) |
| Luminance | 0.1892 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.58
Purpley
#8756E4
ΔE00 4.21
Light Indigo
#6D5ACF
ΔE00 6.05
Dark Periwinkle
#665FD1
ΔE00 6.10
Slate Blue
#6A5ACD
ΔE00 6.50
Lighter Purple
#A55AF4
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5FF5 #DAF55F
analogous
#5F8FF5 #7A5FF5 #C55FF5
triadic
#7A5FF5 #F57A5F #5FF57A
tetradic
#7A5FF5 #F55F8F #DAF55F #5FF5C5
square
#7A5FF5 #F55F8F #DAF55F #5FF5C5
split-complementary
#7A5FF5 #F5C55F #8FF55F
monochromatic
#2F0DCD #4A25F1 #7A5FF5 #AA99F9 #DAD2FC
Accessibility & contrast
On white
4.39
#7A5FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#7A5FF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A5FF5
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5FF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A5FF5 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFA
Deuteranopia (green-blind)
#0074F2
Tritanopia (blue-blind)
#4C83A1
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7a5ff5; /* rgb */ color: rgb(122, 95, 245); /* oklch */ color: oklch(59.4% 0.214 286.1);
Tailwind
colors: {
custom: {
50: '#a98ef9',
500: '#7a5ff5',
950: '#000000',
},
}SCSS
$custom: #7a5ff5; $custom-light: #a98ef9; $custom-dark: #000000;
JSON
{
"hex": "#7a5ff5",
"rgb": {
"r": 122,
"g": 95,
"b": 245
},
"hsl": {
"h": 250.8,
"s": 88.235,
"l": 66.667
},
"oklch": {
"l": 0.59426,
"c": 0.21436,
"h": 286.1
},
"luminance": 0.18915
}Semantic roles & 50–950 ramp
primary
#7A5FF5
secondary
#E7F0C0
accent
#E501BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85