#7D5DC5#7D5DC5
#7D5DC5 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.0% C 0.156 H 295.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5DC5 |
|---|---|
| RGB | rgb(125, 93, 197) |
| HSL | hsl(258, 47%, 57%) |
| HSV | hsv(258, 53%, 77%) |
| CMYK | cmyk(36.5%, 52.8%, 0%, 22.7%) |
| CIE-LAB | lab(47.26, 36.38, -49.98) |
| CIE-LCH | lch(47.26, 61.82, 306.05°) |
| OKLab | oklab(56.04% 0.0662 -0.1415) |
| OKLCH | oklch(56.04% 0.156 295.1) |
| XYZ | xyz(22.4472, 16.2195, 54.7605) |
| Luminance | 0.1622 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.85
Slate Blue
#6A5ACD
ΔE00 4.23
Deep Lavender
#8D5EB7
ΔE00 4.97
Purpley
#8756E4
ΔE00 5.04
Dark Periwinkle
#665FD1
ΔE00 5.31
Iris
#6258C4
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5DC5 #A5C55D
analogous
#5D71C5 #7D5DC5 #B15DC5
triadic
#7D5DC5 #C57D5D #5DC57D
tetradic
#7D5DC5 #C55D71 #A5C55D #5DC5B1
square
#7D5DC5 #C55D71 #A5C55D #5DC5B1
split-complementary
#7D5DC5 #C5B15D #71C55D
monochromatic
#452C7B #5E3CA8 #7D5DC5 #A18AD5 #C5B7E5
Accessibility & contrast
On white
4.95
#7D5DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#7D5DC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5DC5
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5DC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5DC5 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3271C9
Deuteranopia (green-blind)
#3A6FC3
Tritanopia (blue-blind)
#6C7288
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7d5dc5; /* rgb */ color: rgb(125, 93, 197); /* oklch */ color: oklch(56.0% 0.156 295.1);
Tailwind
colors: {
custom: {
50: '#a68cd7',
500: '#7d5dc5',
950: '#000000',
},
}SCSS
$custom: #7d5dc5; $custom-light: #a68cd7; $custom-dark: #000000;
JSON
{
"hex": "#7d5dc5",
"rgb": {
"r": 125,
"g": 93,
"b": 197
},
"hsl": {
"h": 258.462,
"s": 47.273,
"l": 56.863
},
"oklch": {
"l": 0.5604,
"c": 0.15622,
"h": 295.1
},
"luminance": 0.1622
}Semantic roles & 50–950 ramp
primary
#7D5DC5
secondary
#C7D4AA
accent
#D751AE
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83