#7C5DCD#7C5DCD
#7C5DCD is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.5% C 0.167 H 293.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7C5DCD |
|---|---|
| RGB | rgb(124, 93, 205) |
| HSL | hsl(257, 53%, 58%) |
| HSV | hsv(257, 55%, 80%) |
| CMYK | cmyk(39.5%, 54.6%, 0%, 19.6%) |
| CIE-LAB | lab(47.65, 38.31, -53.96) |
| CIE-LCH | lch(47.65, 66.18, 305.38°) |
| OKLab | oklab(56.46% 0.0653 -0.1532) |
| OKLCH | oklch(56.46% 0.167 293.1) |
| XYZ | xyz(23.2430, 16.5210, 59.7100) |
| Luminance | 0.1652 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.07
Slate Blue
#6A5ACD
ΔE00 3.58
Purpley
#8756E4
ΔE00 4.04
Dark Periwinkle
#665FD1
ΔE00 4.52
Iris
#6258C4
ΔE00 5.22
Deep Lavender
#8D5EB7
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C5DCD #AECD5D
analogous
#5D76CD #7C5DCD #B45DCD
triadic
#7C5DCD #CD7C5D #5DCD7C
tetradic
#7C5DCD #CD5D76 #AECD5D #5DCDB4
square
#7C5DCD #CD5D76 #AECD5D #5DCDB4
split-complementary
#7C5DCD #CDB45D #76CD5D
monochromatic
#432986 #5A38B5 #7C5DCD #A28CDB #C8BBEA
Accessibility & contrast
On white
4.88
#7C5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#7C5DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C5DCD
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C5DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C5DCD | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2872D1
Deuteranopia (green-blind)
#306FCA
Tritanopia (blue-blind)
#67748C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7c5dcd; /* rgb */ color: rgb(124, 93, 205); /* oklch */ color: oklch(56.5% 0.167 293.1);
Tailwind
colors: {
custom: {
50: '#a68cdd',
500: '#7c5dcd',
950: '#000000',
},
}SCSS
$custom: #7c5dcd; $custom-light: #a68cdd; $custom-dark: #000000;
JSON
{
"hex": "#7c5dcd",
"rgb": {
"r": 124,
"g": 93,
"b": 205
},
"hsl": {
"h": 256.607,
"s": 52.83,
"l": 58.431
},
"oklch": {
"l": 0.56462,
"c": 0.16654,
"h": 293.1
},
"luminance": 0.16522
}Semantic roles & 50–950 ramp
primary
#7C5DCD
secondary
#CDD9AD
accent
#DC4CB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83