#7A5FF8#7A5FF8
#7A5FF8 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.218 H 285.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5FF8 |
|---|---|
| RGB | rgb(122, 95, 248) |
| HSL | hsl(251, 92%, 67%) |
| HSV | hsv(251, 62%, 97%) |
| CMYK | cmyk(50.8%, 61.7%, 0%, 2.7%) |
| CIE-LAB | lab(50.80, 48.89, -73.18) |
| CIE-LCH | lch(50.80, 88.00, 303.75°) |
| OKLab | oklab(59.65% 0.0594 -0.2098) |
| OKLCH | oklch(59.65% 0.218 285.8) |
| XYZ | xyz(29.0565, 19.0978, 90.9439) |
| Luminance | 0.1910 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.67
Purpley
#8756E4
ΔE00 4.46
Light Indigo
#6D5ACF
ΔE00 6.41
Dark Periwinkle
#665FD1
ΔE00 6.42
Slate Blue
#6A5ACD
ΔE00 6.85
Lighter Purple
#A55AF4
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5FF8 #DDF85F
analogous
#5F91F8 #7A5FF8 #C65FF8
triadic
#7A5FF8 #F87A5F #5FF87A
tetradic
#7A5FF8 #F85F91 #DDF85F #5FF8C6
square
#7A5FF8 #F85F91 #DDF85F #5FF8C6
split-complementary
#7A5FF8 #F8C65F #91F85F
monochromatic
#2D09D3 #4924F5 #7A5FF8 #AB9AFB #DBD4FD
Accessibility & contrast
On white
4.36
#7A5FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7A5FF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A5FF8
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5FF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A5FF8 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#0074F5
Tritanopia (blue-blind)
#4A84A3
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7a5ff8; /* rgb */ color: rgb(122, 95, 248); /* oklch */ color: oklch(59.7% 0.218 285.8);
Tailwind
colors: {
custom: {
50: '#aa8efc',
500: '#7a5ff8',
950: '#000000',
},
}SCSS
$custom: #7a5ff8; $custom-light: #aa8efc; $custom-dark: #000000;
JSON
{
"hex": "#7a5ff8",
"rgb": {
"r": 122,
"g": 95,
"b": 248
},
"hsl": {
"h": 250.588,
"s": 91.617,
"l": 67.255
},
"oklch": {
"l": 0.59651,
"c": 0.21803,
"h": 285.8
},
"luminance": 0.19099
}Semantic roles & 50–950 ramp
primary
#7A5FF8
secondary
#E9F2C1
accent
#E600BD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86