#7C5FF3#7C5FF3
#7C5FF3 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.4% C 0.212 H 287.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7C5FF3 |
|---|---|
| RGB | rgb(124, 95, 243) |
| HSL | hsl(252, 86%, 66%) |
| HSV | hsv(252, 61%, 95%) |
| CMYK | cmyk(49%, 60.9%, 0%, 4.7%) |
| CIE-LAB | lab(50.62, 47.83, -70.68) |
| CIE-LCH | lch(50.62, 85.34, 304.08°) |
| OKLab | oklab(59.45% 0.0623 -0.2024) |
| OKLCH | oklch(59.45% 0.212 287.1) |
| XYZ | xyz(28.5773, 18.9393, 86.9265) |
| Luminance | 0.1894 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.56
Purpley
#8756E4
ΔE00 3.88
Light Indigo
#6D5ACF
ΔE00 5.95
Dark Periwinkle
#665FD1
ΔE00 6.11
Slate Blue
#6A5ACD
ΔE00 6.43
Lighter Purple
#A55AF4
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C5FF3 #D6F35F
analogous
#5F8CF3 #7C5FF3 #C65FF3
triadic
#7C5FF3 #F37C5F #5FF37C
tetradic
#7C5FF3 #F35F8C #D6F35F #5FF3C6
square
#7C5FF3 #F35F8C #D6F35F #5FF3C6
split-complementary
#7C5FF3 #F3C65F #8CF35F
monochromatic
#330FC9 #4D26EF #7C5FF3 #AB98F7 #D9D1FC
Accessibility & contrast
On white
4.39
#7C5FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#7C5FF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C5FF3
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C5FF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C5FF3 | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#5282A0
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7c5ff3; /* rgb */ color: rgb(124, 95, 243); /* oklch */ color: oklch(59.4% 0.212 287.1);
Tailwind
colors: {
custom: {
50: '#aa8ef8',
500: '#7c5ff3',
950: '#000000',
},
}SCSS
$custom: #7c5ff3; $custom-light: #aa8ef8; $custom-dark: #000000;
JSON
{
"hex": "#7c5ff3",
"rgb": {
"r": 124,
"g": 95,
"b": 243
},
"hsl": {
"h": 251.757,
"s": 86.047,
"l": 66.275
},
"oklch": {
"l": 0.59445,
"c": 0.21175,
"h": 287.1
},
"luminance": 0.18941
}Semantic roles & 50–950 ramp
primary
#7C5FF3
secondary
#E6EFBF
accent
#E303B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85