#7C5FF7#7C5FF7
#7C5FF7 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.7% C 0.217 H 286.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7C5FF7 |
|---|---|
| RGB | rgb(124, 95, 247) |
| HSL | hsl(251, 90%, 67%) |
| HSV | hsv(251, 62%, 97%) |
| CMYK | cmyk(49.8%, 61.5%, 0%, 3.1%) |
| CIE-LAB | lab(50.90, 48.97, -72.45) |
| CIE-LCH | lch(50.90, 87.44, 304.05°) |
| OKLab | oklab(59.74% 0.062 -0.2076) |
| OKLCH | oklch(59.74% 0.217 286.6) |
| XYZ | xyz(29.1879, 19.1835, 90.1425) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.64
Purpley
#8756E4
ΔE00 4.22
Light Indigo
#6D5ACF
ΔE00 6.43
Dark Periwinkle
#665FD1
ΔE00 6.52
Slate Blue
#6A5ACD
ΔE00 6.89
Lighter Purple
#A55AF4
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C5FF7 #DAF75F
analogous
#5F8EF7 #7C5FF7 #C85FF7
triadic
#7C5FF7 #F77C5F #5FF77C
tetradic
#7C5FF7 #F75F8E #DAF75F #5FF7C8
square
#7C5FF7 #F75F8E #DAF75F #5FF7C8
split-complementary
#7C5FF7 #F7C85F #8EF75F
monochromatic
#300AD1 #4C25F4 #7C5FF7 #AC99FA #DBD4FD
Accessibility & contrast
On white
4.34
#7C5FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#7C5FF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C5FF7
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C5FF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C5FF7 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#0075F4
Tritanopia (blue-blind)
#4F83A2
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7c5ff7; /* rgb */ color: rgb(124, 95, 247); /* oklch */ color: oklch(59.7% 0.217 286.6);
Tailwind
colors: {
custom: {
50: '#ab8efb',
500: '#7c5ff7',
950: '#000000',
},
}SCSS
$custom: #7c5ff7; $custom-light: #ab8efb; $custom-dark: #000000;
JSON
{
"hex": "#7c5ff7",
"rgb": {
"r": 124,
"g": 95,
"b": 247
},
"hsl": {
"h": 251.447,
"s": 90.476,
"l": 67.059
},
"oklch": {
"l": 0.59743,
"c": 0.21665,
"h": 286.6
},
"luminance": 0.19185
}Semantic roles & 50–950 ramp
primary
#7C5FF7
secondary
#E8F1C1
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85