#7D5CD2#7D5CD2
#7D5CD2 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.174 H 292.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5CD2 |
|---|---|
| RGB | rgb(125, 92, 210) |
| HSL | hsl(257, 57%, 59%) |
| HSV | hsv(257, 56%, 82%) |
| CMYK | cmyk(40.5%, 56.2%, 0%, 17.6%) |
| CIE-LAB | lab(47.84, 40.49, -56.52) |
| CIE-LCH | lch(47.84, 69.53, 305.62°) |
| OKLab | oklab(56.72% 0.0678 -0.1607) |
| OKLCH | oklch(56.72% 0.174 292.9) |
| XYZ | xyz(23.9143, 16.6668, 62.9173) |
| Luminance | 0.1667 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.10
Purpley
#8756E4
ΔE00 3.27
Slate Blue
#6A5ACD
ΔE00 3.68
Dark Periwinkle
#665FD1
ΔE00 4.60
Iris
#6258C4
ΔE00 5.47
Mediumslateblue
#7B68EE
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5CD2 #B1D25C
analogous
#5C76D2 #7D5CD2 #B85CD2
triadic
#7D5CD2 #D27D5C #5CD27D
tetradic
#7D5CD2 #D25C76 #B1D25C #5CD2B8
square
#7D5CD2 #D25C76 #B1D25C #5CD2B8
split-complementary
#7D5CD2 #D2B85C #76D25C
monochromatic
#43278D #5A34BD #7D5CD2 #A38CDF #CABCEC
Accessibility & contrast
On white
4.85
#7D5CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#7D5CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5CD2
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5CD2 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C73D6
Deuteranopia (green-blind)
#276FCF
Tritanopia (blue-blind)
#66758E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7d5cd2; /* rgb */ color: rgb(125, 92, 210); /* oklch */ color: oklch(56.7% 0.174 292.9);
Tailwind
colors: {
custom: {
50: '#a88be0',
500: '#7d5cd2',
950: '#000000',
},
}SCSS
$custom: #7d5cd2; $custom-light: #a88be0; $custom-dark: #000000;
JSON
{
"hex": "#7d5cd2",
"rgb": {
"r": 125,
"g": 92,
"b": 210
},
"hsl": {
"h": 256.78,
"s": 56.731,
"l": 59.216
},
"oklch": {
"l": 0.56724,
"c": 0.17444,
"h": 292.9
},
"luminance": 0.16667
}Semantic roles & 50–950 ramp
primary
#7D5CD2
secondary
#CFDCAE
accent
#E048B5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83