#7C5FF6#7C5FF6
#7C5FF6 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.215 H 286.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7C5FF6 |
|---|---|
| RGB | rgb(124, 95, 246) |
| HSL | hsl(252, 89%, 67%) |
| HSV | hsv(252, 61%, 96%) |
| CMYK | cmyk(49.6%, 61.4%, 0%, 3.5%) |
| CIE-LAB | lab(50.83, 48.68, -72.01) |
| CIE-LCH | lch(50.83, 86.92, 304.06°) |
| OKLab | oklab(59.67% 0.0621 -0.2063) |
| OKLCH | oklch(59.67% 0.215 286.8) |
| XYZ | xyz(29.0340, 19.1219, 89.3320) |
| Luminance | 0.1912 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.61
Purpley
#8756E4
ΔE00 4.13
Light Indigo
#6D5ACF
ΔE00 6.31
Dark Periwinkle
#665FD1
ΔE00 6.41
Slate Blue
#6A5ACD
ΔE00 6.77
Lighter Purple
#A55AF4
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C5FF6 #D9F65F
analogous
#5F8EF6 #7C5FF6 #C75FF6
triadic
#7C5FF6 #F67C5F #5FF67C
tetradic
#7C5FF6 #F65F8E #D9F65F #5FF6C7
square
#7C5FF6 #F65F8E #D9F65F #5FF6C7
split-complementary
#7C5FF6 #F6C75F #8EF65F
monochromatic
#310CCF #4D25F3 #7C5FF6 #AB99F9 #DBD3FD
Accessibility & contrast
On white
4.35
#7C5FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7C5FF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C5FF6
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C5FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C5FF6 | 1.00 | 4.35 | 4.82 | 4.82 |
| #FFFFFF | 4.35 | 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)
#007DFB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#5083A2
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7c5ff6; /* rgb */ color: rgb(124, 95, 246); /* oklch */ color: oklch(59.7% 0.215 286.8);
Tailwind
colors: {
custom: {
50: '#ab8efa',
500: '#7c5ff6',
950: '#000000',
},
}SCSS
$custom: #7c5ff6; $custom-light: #ab8efa; $custom-dark: #000000;
JSON
{
"hex": "#7c5ff6",
"rgb": {
"r": 124,
"g": 95,
"b": 246
},
"hsl": {
"h": 251.523,
"s": 89.349,
"l": 66.863
},
"oklch": {
"l": 0.59668,
"c": 0.21543,
"h": 286.8
},
"luminance": 0.19123
}Semantic roles & 50–950 ramp
primary
#7C5FF6
secondary
#E7F1C0
accent
#E600B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85