#7D5DCD#7D5DCD
#7D5DCD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.167 H 293.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5DCD |
|---|---|
| RGB | rgb(125, 93, 205) |
| HSL | hsl(257, 53%, 58%) |
| HSV | hsv(257, 55%, 80%) |
| CMYK | cmyk(39%, 54.6%, 0%, 19.6%) |
| CIE-LAB | lab(47.75, 38.55, -53.80) |
| CIE-LCH | lch(47.75, 66.19, 305.62°) |
| OKLab | oklab(56.56% 0.0665 -0.1527) |
| OKLCH | oklch(56.56% 0.167 293.5) |
| XYZ | xyz(23.3883, 16.5959, 59.7168) |
| Luminance | 0.1660 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.26
Slate Blue
#6A5ACD
ΔE00 3.77
Purpley
#8756E4
ΔE00 3.97
Dark Periwinkle
#665FD1
ΔE00 4.72
Iris
#6258C4
ΔE00 5.41
Deep Lavender
#8D5EB7
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5DCD #ADCD5D
analogous
#5D75CD #7D5DCD #B55DCD
triadic
#7D5DCD #CD7D5D #5DCD7D
tetradic
#7D5DCD #CD5D75 #ADCD5D #5DCDB5
square
#7D5DCD #CD5D75 #ADCD5D #5DCDB5
split-complementary
#7D5DCD #CDB55D #75CD5D
monochromatic
#442986 #5C38B5 #7D5DCD #A38CDB #C8BBEA
Accessibility & contrast
On white
4.86
#7D5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#7D5DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5DCD
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5DCD | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2873D1
Deuteranopia (green-blind)
#316FCA
Tritanopia (blue-blind)
#69748C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7d5dcd; /* rgb */ color: rgb(125, 93, 205); /* oklch */ color: oklch(56.6% 0.167 293.5);
Tailwind
colors: {
custom: {
50: '#a78cdd',
500: '#7d5dcd',
950: '#000000',
},
}SCSS
$custom: #7d5dcd; $custom-light: #a78cdd; $custom-dark: #000000;
JSON
{
"hex": "#7d5dcd",
"rgb": {
"r": 125,
"g": 93,
"b": 205
},
"hsl": {
"h": 257.143,
"s": 52.83,
"l": 58.431
},
"oklch": {
"l": 0.56556,
"c": 0.1666,
"h": 293.5
},
"luminance": 0.16596
}Semantic roles & 50–950 ramp
primary
#7D5DCD
secondary
#CCD9AD
accent
#DC4CB3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83