#7D5CD1#7D5CD1
#7D5CD1 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.7% C 0.173 H 293.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5CD1 |
|---|---|
| RGB | rgb(125, 92, 209) |
| HSL | hsl(257, 56%, 59%) |
| HSV | hsv(257, 56%, 82%) |
| CMYK | cmyk(40.2%, 56%, 0%, 18%) |
| CIE-LAB | lab(47.77, 40.22, -56.05) |
| CIE-LCH | lch(47.77, 68.99, 305.66°) |
| OKLab | oklab(56.66% 0.0678 -0.1593) |
| OKLCH | oklch(56.66% 0.173 293.1) |
| XYZ | xyz(23.7901, 16.6171, 62.2632) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.10
Purpley
#8756E4
ΔE00 3.38
Slate Blue
#6A5ACD
ΔE00 3.67
Dark Periwinkle
#665FD1
ΔE00 4.63
Iris
#6258C4
ΔE00 5.44
Mediumslateblue
#7B68EE
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5CD1 #B0D15C
analogous
#5C76D1 #7D5CD1 #B85CD1
triadic
#7D5CD1 #D17D5C #5CD17D
tetradic
#7D5CD1 #D15C76 #B0D15C #5CD1B8
square
#7D5CD1 #D15C76 #B0D15C #5CD1B8
split-complementary
#7D5CD1 #D1B85C #76D15C
monochromatic
#44278B #5B35BB #7D5CD1 #A38CDE #C9BBEC
Accessibility & contrast
On white
4.86
#7D5CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#7D5CD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5CD1
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5CD1 | 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)
#1E73D5
Deuteranopia (green-blind)
#296FCE
Tritanopia (blue-blind)
#67758E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7d5cd1; /* rgb */ color: rgb(125, 92, 209); /* oklch */ color: oklch(56.7% 0.173 293.1);
Tailwind
colors: {
custom: {
50: '#a78be0',
500: '#7d5cd1',
950: '#000000',
},
}SCSS
$custom: #7d5cd1; $custom-light: #a78be0; $custom-dark: #000000;
JSON
{
"hex": "#7d5cd1",
"rgb": {
"r": 125,
"g": 92,
"b": 209
},
"hsl": {
"h": 256.923,
"s": 55.981,
"l": 59.02
},
"oklch": {
"l": 0.56657,
"c": 0.17317,
"h": 293.1
},
"luminance": 0.16618
}Semantic roles & 50–950 ramp
primary
#7D5CD1
secondary
#CEDBAD
accent
#DF49B5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83