#7D5DC7#7D5DC7
#7D5DC7 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.2% C 0.159 H 294.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5DC7 |
|---|---|
| RGB | rgb(125, 93, 199) |
| HSL | hsl(258, 49%, 57%) |
| HSV | hsv(258, 53%, 78%) |
| CMYK | cmyk(37.2%, 53.3%, 0%, 22%) |
| CIE-LAB | lab(47.38, 36.92, -50.94) |
| CIE-LCH | lch(47.38, 62.91, 305.94°) |
| OKLab | oklab(56.17% 0.0663 -0.1443) |
| OKLCH | oklch(56.17% 0.159 294.7) |
| XYZ | xyz(22.6779, 16.3117, 55.9754) |
| Luminance | 0.1631 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.66
Slate Blue
#6A5ACD
ΔE00 4.08
Purpley
#8756E4
ΔE00 4.76
Dark Periwinkle
#665FD1
ΔE00 5.13
Deep Lavender
#8D5EB7
ΔE00 5.20
Iris
#6258C4
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5DC7 #A7C75D
analogous
#5D72C7 #7D5DC7 #B25DC7
triadic
#7D5DC7 #C77D5D #5DC77D
tetradic
#7D5DC7 #C75D72 #A7C75D #5DC7B2
square
#7D5DC7 #C75D72 #A7C75D #5DC7B2
split-complementary
#7D5DC7 #C7B25D #72C75D
monochromatic
#442C7E #5D3BAC #7D5DC7 #A18AD7 #C6B8E6
Accessibility & contrast
On white
4.93
#7D5DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#7D5DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5DC7
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5DC7 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3071CB
Deuteranopia (green-blind)
#386FC5
Tritanopia (blue-blind)
#6B7389
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7d5dc7; /* rgb */ color: rgb(125, 93, 199); /* oklch */ color: oklch(56.2% 0.159 294.7);
Tailwind
colors: {
custom: {
50: '#a78cd8',
500: '#7d5dc7',
950: '#000000',
},
}SCSS
$custom: #7d5dc7; $custom-light: #a78cd8; $custom-dark: #000000;
JSON
{
"hex": "#7d5dc7",
"rgb": {
"r": 125,
"g": 93,
"b": 199
},
"hsl": {
"h": 258.113,
"s": 48.624,
"l": 57.255
},
"oklch": {
"l": 0.56168,
"c": 0.15882,
"h": 294.7
},
"luminance": 0.16312
}Semantic roles & 50–950 ramp
primary
#7D5DC7
secondary
#C8D5AA
accent
#D850AF
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C15
muted
#7F7D83