#7D5ED3#7D5ED3
#7D5ED3 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.1% C 0.173 H 292.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5ED3 |
|---|---|
| RGB | rgb(125, 94, 211) |
| HSL | hsl(256, 57%, 60%) |
| HSV | hsv(256, 55%, 83%) |
| CMYK | cmyk(40.8%, 55.5%, 0%, 17.3%) |
| CIE-LAB | lab(48.35, 39.62, -56.27) |
| CIE-LCH | lch(48.35, 68.82, 305.15°) |
| OKLab | oklab(57.12% 0.0655 -0.16) |
| OKLCH | oklch(57.12% 0.173 292.3) |
| XYZ | xyz(24.2148, 17.0679, 63.6340) |
| Luminance | 0.1707 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.25
Purpley
#8756E4
ΔE00 3.44
Slate Blue
#6A5ACD
ΔE00 3.81
Dark Periwinkle
#665FD1
ΔE00 4.47
Mediumslateblue
#7B68EE
ΔE00 5.19
Iris
#6258C4
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5ED3 #B4D35E
analogous
#5E7AD3 #7D5ED3 #B75ED3
triadic
#7D5ED3 #D37D5E #5ED37D
tetradic
#7D5ED3 #D35E7A #B4D35E #5ED3B7
square
#7D5ED3 #D35E7A #B4D35E #5ED3B7
split-complementary
#7D5ED3 #D3B75E #7AD35E
monochromatic
#43278F #5934BF #7D5ED3 #A48EE0 #CBBEED
Accessibility & contrast
On white
4.76
#7D5ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#7D5ED3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5ED3
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5ED3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5ED3 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2174D7
Deuteranopia (green-blind)
#2A71D0
Tritanopia (blue-blind)
#66778F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7d5ed3; /* rgb */ color: rgb(125, 94, 211); /* oklch */ color: oklch(57.1% 0.173 292.3);
Tailwind
colors: {
custom: {
50: '#a88ce1',
500: '#7d5ed3',
950: '#000000',
},
}SCSS
$custom: #7d5ed3; $custom-light: #a88ce1; $custom-dark: #000000;
JSON
{
"hex": "#7d5ed3",
"rgb": {
"r": 125,
"g": 94,
"b": 211
},
"hsl": {
"h": 255.897,
"s": 57.073,
"l": 59.804
},
"oklch": {
"l": 0.57119,
"c": 0.17287,
"h": 292.3
},
"luminance": 0.17069
}Semantic roles & 50–950 ramp
primary
#7D5ED3
secondary
#D1DDB0
accent
#E047B8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83