#7C5DF9#7C5DF9
#7C5DF9 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.6% C 0.222 H 286.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7C5DF9 |
|---|---|
| RGB | rgb(124, 93, 249) |
| HSL | hsl(252, 93%, 67%) |
| HSV | hsv(252, 63%, 98%) |
| CMYK | cmyk(50.2%, 62.7%, 0%, 2.4%) |
| CIE-LAB | lab(50.63, 50.64, -74.00) |
| CIE-LCH | lch(50.63, 89.67, 304.38°) |
| OKLab | oklab(59.59% 0.0638 -0.2121) |
| OKLCH | oklch(59.59% 0.222 286.7) |
| XYZ | xyz(29.3204, 18.9519, 91.7173) |
| Luminance | 0.1895 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.18
Purpley
#8756E4
ΔE00 4.07
Light Indigo
#6D5ACF
ΔE00 6.49
Dark Periwinkle
#665FD1
ΔE00 6.69
Slate Blue
#6A5ACD
ΔE00 6.96
Lighter Purple
#A55AF4
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C5DF9 #DAF95D
analogous
#5D8CF9 #7C5DF9 #CA5DF9
triadic
#7C5DF9 #F97C5D #5DF97C
tetradic
#7C5DF9 #F95D8C #DAF95D #5DF9CA
square
#7C5DF9 #F95D8C #DAF95D #5DF9CA
split-complementary
#7C5DF9 #F9CA5D #8CF95D
monochromatic
#3008D4 #4C22F7 #7C5DF9 #AC98FB #DBD3FD
Accessibility & contrast
On white
4.38
#7C5DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#7C5DF9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C5DF9
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C5DF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C5DF9 | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 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)
#007CFE
Deuteranopia (green-blind)
#0074F6
Tritanopia (blue-blind)
#4E83A3
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7c5df9; /* rgb */ color: rgb(124, 93, 249); /* oklch */ color: oklch(59.6% 0.222 286.7);
Tailwind
colors: {
custom: {
50: '#ab8cfc',
500: '#7c5df9',
950: '#000000',
},
}SCSS
$custom: #7c5df9; $custom-light: #ab8cfc; $custom-dark: #000000;
JSON
{
"hex": "#7c5df9",
"rgb": {
"r": 124,
"g": 93,
"b": 249
},
"hsl": {
"h": 251.923,
"s": 92.857,
"l": 67.059
},
"oklch": {
"l": 0.59592,
"c": 0.22154,
"h": 286.7
},
"luminance": 0.18953
}Semantic roles & 50–950 ramp
primary
#7C5DF9
secondary
#E8F2C0
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86