#7D5DC3#7D5DC3
#7D5DC3 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.9% C 0.154 H 295.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5DC3 |
|---|---|
| RGB | rgb(125, 93, 195) |
| HSL | hsl(259, 46%, 56%) |
| HSV | hsv(259, 52%, 76%) |
| CMYK | cmyk(35.9%, 52.3%, 0%, 23.5%) |
| CIE-LAB | lab(47.14, 35.85, -49.01) |
| CIE-LCH | lch(47.14, 60.72, 306.18°) |
| OKLab | oklab(55.91% 0.0661 -0.1387) |
| OKLCH | oklch(55.91% 0.154 295.5) |
| XYZ | xyz(22.2196, 16.1284, 53.5616) |
| Luminance | 0.1613 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.06
Slate Blue
#6A5ACD
ΔE00 4.42
Deep Lavender
#8D5EB7
ΔE00 4.74
Purpley
#8756E4
ΔE00 5.34
Dark Periwinkle
#665FD1
ΔE00 5.51
Iris
#6258C4
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5DC3 #A3C35D
analogous
#5D70C3 #7D5DC3 #B05DC3
triadic
#7D5DC3 #C37D5D #5DC37D
tetradic
#7D5DC3 #C35D70 #A3C35D #5DC3B0
square
#7D5DC3 #C35D70 #A3C35D #5DC3B0
split-complementary
#7D5DC3 #C3B05D #70C35D
monochromatic
#452D79 #5E3DA6 #7D5DC3 #A18AD4 #C5B6E4
Accessibility & contrast
On white
4.97
#7D5DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#7D5DC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5DC3
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5DC3 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3471C7
Deuteranopia (green-blind)
#3C6EC1
Tritanopia (blue-blind)
#6D7187
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7d5dc3; /* rgb */ color: rgb(125, 93, 195); /* oklch */ color: oklch(55.9% 0.154 295.5);
Tailwind
colors: {
custom: {
50: '#a68cd6',
500: '#7d5dc3',
950: '#000000',
},
}SCSS
$custom: #7d5dc3; $custom-light: #a68cd6; $custom-dark: #000000;
JSON
{
"hex": "#7d5dc3",
"rgb": {
"r": 125,
"g": 93,
"b": 195
},
"hsl": {
"h": 258.824,
"s": 45.946,
"l": 56.471
},
"oklch": {
"l": 0.55914,
"c": 0.15361,
"h": 295.5
},
"luminance": 0.16129
}Semantic roles & 50–950 ramp
primary
#7D5DC3
secondary
#C6D3A9
accent
#D652AC
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83