#7D5CD5#7D5CD5
#7D5CD5 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.9% C 0.178 H 292.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5CD5 |
|---|---|
| RGB | rgb(125, 92, 213) |
| HSL | hsl(256, 59%, 60%) |
| HSV | hsv(256, 57%, 84%) |
| CMYK | cmyk(41.3%, 56.8%, 0%, 16.5%) |
| CIE-LAB | lab(48.03, 41.31, -57.92) |
| CIE-LCH | lch(48.03, 71.15, 305.50°) |
| OKLab | oklab(56.93% 0.0679 -0.1648) |
| OKLCH | oklch(56.93% 0.178 292.4) |
| XYZ | xyz(24.2916, 16.8177, 64.9042) |
| Luminance | 0.1682 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.97
Light Indigo
#6D5ACF
ΔE00 3.13
Slate Blue
#6A5ACD
ΔE00 3.73
Dark Periwinkle
#665FD1
ΔE00 4.56
Mediumslateblue
#7B68EE
ΔE00 5.35
Iris
#6258C4
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5CD5 #B4D55C
analogous
#5C77D5 #7D5CD5 #BA5CD5
triadic
#7D5CD5 #D57D5C #5CD57D
tetradic
#7D5CD5 #D55C77 #B4D55C #5CD5BA
square
#7D5CD5 #D55C77 #B4D55C #5CD5BA
split-complementary
#7D5CD5 #D5BA5C #77D55C
monochromatic
#432591 #5932C2 #7D5CD5 #A48DE2 #CBBDEE
Accessibility & contrast
On white
4.81
#7D5CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#7D5CD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5CD5
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5CD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5CD5 | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1574D9
Deuteranopia (green-blind)
#2270D2
Tritanopia (blue-blind)
#657690
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7d5cd5; /* rgb */ color: rgb(125, 92, 213); /* oklch */ color: oklch(56.9% 0.178 292.4);
Tailwind
colors: {
custom: {
50: '#a88be3',
500: '#7d5cd5',
950: '#000000',
},
}SCSS
$custom: #7d5cd5; $custom-light: #a88be3; $custom-dark: #000000;
JSON
{
"hex": "#7d5cd5",
"rgb": {
"r": 125,
"g": 92,
"b": 213
},
"hsl": {
"h": 256.364,
"s": 59.024,
"l": 59.804
},
"oklch": {
"l": 0.56927,
"c": 0.17826,
"h": 292.4
},
"luminance": 0.16818
}Semantic roles & 50–950 ramp
primary
#7D5CD5
secondary
#D1DEAF
accent
#E246B7
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84