#7D5CD3#7D5CD3
#7D5CD3 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.8% C 0.176 H 292.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5CD3 |
|---|---|
| RGB | rgb(125, 92, 211) |
| HSL | hsl(257, 57%, 59%) |
| HSV | hsv(257, 56%, 83%) |
| CMYK | cmyk(40.8%, 56.4%, 0%, 17.3%) |
| CIE-LAB | lab(47.90, 40.77, -56.99) |
| CIE-LCH | lch(47.90, 70.07, 305.58°) |
| OKLab | oklab(56.79% 0.0678 -0.1621) |
| OKLCH | oklch(56.79% 0.176 292.7) |
| XYZ | xyz(24.0393, 16.7168, 63.5755) |
| Luminance | 0.1672 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.10
Purpley
#8756E4
ΔE00 3.16
Slate Blue
#6A5ACD
ΔE00 3.69
Dark Periwinkle
#665FD1
ΔE00 4.58
Iris
#6258C4
ΔE00 5.51
Mediumslateblue
#7B68EE
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5CD3 #B2D35C
analogous
#5C77D3 #7D5CD3 #B95CD3
triadic
#7D5CD3 #D37D5C #5CD37D
tetradic
#7D5CD3 #D35C77 #B2D35C #5CD3B9
square
#7D5CD3 #D35C77 #B2D35C #5CD3B9
split-complementary
#7D5CD3 #D3B95C #77D35C
monochromatic
#43268E #5A33BE #7D5CD3 #A38CE0 #CABCED
Accessibility & contrast
On white
4.83
#7D5CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#7D5CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5CD3
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5CD3 | 1.00 | 4.83 | 4.34 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A73D7
Deuteranopia (green-blind)
#266FD0
Tritanopia (blue-blind)
#66768F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7d5cd3; /* rgb */ color: rgb(125, 92, 211); /* oklch */ color: oklch(56.8% 0.176 292.7);
Tailwind
colors: {
custom: {
50: '#a88be1',
500: '#7d5cd3',
950: '#000000',
},
}SCSS
$custom: #7d5cd3; $custom-light: #a88be1; $custom-dark: #000000;
JSON
{
"hex": "#7d5cd3",
"rgb": {
"r": 125,
"g": 92,
"b": 211
},
"hsl": {
"h": 256.639,
"s": 57.488,
"l": 59.412
},
"oklch": {
"l": 0.56791,
"c": 0.17572,
"h": 292.7
},
"luminance": 0.16717
}Semantic roles & 50–950 ramp
primary
#7D5CD3
secondary
#D0DDAE
accent
#E147B6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83