#7C5CD5#7C5CD5
#7C5CD5 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.8% C 0.178 H 291.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7C5CD5 |
|---|---|
| RGB | rgb(124, 92, 213) |
| HSL | hsl(256, 59%, 60%) |
| HSV | hsv(256, 57%, 84%) |
| CMYK | cmyk(41.8%, 56.8%, 0%, 16.5%) |
| CIE-LAB | lab(47.93, 41.09, -58.08) |
| CIE-LCH | lch(47.93, 71.15, 305.28°) |
| OKLab | oklab(56.83% 0.0666 -0.1653) |
| OKLCH | oklch(56.83% 0.178 291.9) |
| XYZ | xyz(24.1463, 16.7428, 64.8973) |
| Luminance | 0.1674 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.95
Purpley
#8756E4
ΔE00 3.07
Slate Blue
#6A5ACD
ΔE00 3.55
Dark Periwinkle
#665FD1
ΔE00 4.37
Mediumslateblue
#7B68EE
ΔE00 5.32
Iris
#6258C4
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C5CD5 #B5D55C
analogous
#5C79D5 #7C5CD5 #B95CD5
triadic
#7C5CD5 #D57C5C #5CD57C
tetradic
#7C5CD5 #D55C79 #B5D55C #5CD5B9
square
#7C5CD5 #D55C79 #B5D55C #5CD5B9
split-complementary
#7C5CD5 #D5B95C #79D55C
monochromatic
#422591 #5832C2 #7C5CD5 #A38DE2 #CABDEE
Accessibility & contrast
On white
4.83
#7C5CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#7C5CD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C5CD5
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C5CD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C5CD5 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1474D9
Deuteranopia (green-blind)
#206FD2
Tritanopia (blue-blind)
#637690
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7c5cd5; /* rgb */ color: rgb(124, 92, 213); /* oklch */ color: oklch(56.8% 0.178 291.9);
Tailwind
colors: {
custom: {
50: '#a78be3',
500: '#7c5cd5',
950: '#000000',
},
}SCSS
$custom: #7c5cd5; $custom-light: #a78be3; $custom-dark: #000000;
JSON
{
"hex": "#7c5cd5",
"rgb": {
"r": 124,
"g": 92,
"b": 213
},
"hsl": {
"h": 255.868,
"s": 59.024,
"l": 59.804
},
"oklch": {
"l": 0.56834,
"c": 0.17824,
"h": 291.9
},
"luminance": 0.16743
}Semantic roles & 50–950 ramp
primary
#7C5CD5
secondary
#D1DEAF
accent
#E246B9
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84