#7C5FF0#7C5FF0
#7C5FF0 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.2% C 0.208 H 287.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7C5FF0 |
|---|---|
| RGB | rgb(124, 95, 240) |
| HSL | hsl(252, 83%, 66%) |
| HSV | hsv(252, 60%, 94%) |
| CMYK | cmyk(48.3%, 60.4%, 0%, 5.9%) |
| CIE-LAB | lab(50.40, 46.97, -69.35) |
| CIE-LCH | lch(50.40, 83.76, 304.11°) |
| OKLab | oklab(59.22% 0.0625 -0.1985) |
| OKLCH | oklch(59.22% 0.208 287.5) |
| XYZ | xyz(28.1280, 18.7595, 84.5600) |
| Luminance | 0.1876 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.56
Purpley
#8756E4
ΔE00 3.65
Light Indigo
#6D5ACF
ΔE00 5.60
Dark Periwinkle
#665FD1
ΔE00 5.81
Slate Blue
#6A5ACD
ΔE00 6.09
Lighter Purple
#A55AF4
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C5FF0 #D3F05F
analogous
#5F8AF0 #7C5FF0 #C45FF0
triadic
#7C5FF0 #F07C5F #5FF07C
tetradic
#7C5FF0 #F05F8A #D3F05F #5FF0C4
square
#7C5FF0 #F05F8A #D3F05F #5FF0C4
split-complementary
#7C5FF0 #F0C45F #8AF05F
monochromatic
#3512C2 #4E27EB #7C5FF0 #AA97F5 #D8CFFA
Accessibility & contrast
On white
4.42
#7C5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#7C5FF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C5FF0
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C5FF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C5FF0 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF5
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#54819F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7c5ff0; /* rgb */ color: rgb(124, 95, 240); /* oklch */ color: oklch(59.2% 0.208 287.5);
Tailwind
colors: {
custom: {
50: '#aa8ef6',
500: '#7c5ff0',
950: '#000000',
},
}SCSS
$custom: #7c5ff0; $custom-light: #aa8ef6; $custom-dark: #000000;
JSON
{
"hex": "#7c5ff0",
"rgb": {
"r": 124,
"g": 95,
"b": 240
},
"hsl": {
"h": 252,
"s": 82.857,
"l": 65.686
},
"oklch": {
"l": 0.59224,
"c": 0.20806,
"h": 287.5
},
"luminance": 0.18761
}Semantic roles & 50–950 ramp
primary
#7C5FF0
secondary
#E4EEBD
accent
#DF06B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85