#7D5CB7#7D5CB7
#7D5CB7 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.0% C 0.139 H 298.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5CB7 |
|---|---|
| RGB | rgb(125, 92, 183) |
| HSL | hsl(262, 39%, 54%) |
| HSV | hsv(262, 50%, 72%) |
| CMYK | cmyk(31.7%, 49.7%, 0%, 28.2%) |
| CIE-LAB | lab(46.22, 33.26, -43.52) |
| CIE-LCH | lch(46.22, 54.77, 307.39°) |
| OKLab | oklab(55.01% 0.0664 -0.1226) |
| OKLCH | oklch(55.01% 0.139 298.4) |
| XYZ | xyz(20.8298, 15.4330, 46.6720) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.72
Royal Purple
#7851A9
ΔE00 3.96
Light Indigo
#6D5ACF
ΔE00 5.69
Slate Blue
#6A5ACD
ΔE00 5.90
Iris
#6258C4
ΔE00 6.48
Amethyst
#9B5FC0
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5CB7 #96B75C
analogous
#5C69B7 #7D5CB7 #AB5CB7
triadic
#7D5CB7 #B77D5C #5CB77D
tetradic
#7D5CB7 #B75C69 #96B75C #5CB7AB
square
#7D5CB7 #B75C69 #96B75C #5CB7AB
split-complementary
#7D5CB7 #B7AB5C #69B75C
monochromatic
#442F6A #604294 #7D5CB7 #9F86CA #C1B1DD
Accessibility & contrast
On white
5.14
#7D5CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#7D5CB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5CB7
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5CB7 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D6EBA
Deuteranopia (green-blind)
#456DB5
Tritanopia (blue-blind)
#716D81
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7d5cb7; /* rgb */ color: rgb(125, 92, 183); /* oklch */ color: oklch(55.0% 0.139 298.4);
Tailwind
colors: {
custom: {
50: '#a58bcd',
500: '#7d5cb7',
950: '#000000',
},
}SCSS
$custom: #7d5cb7; $custom-light: #a58bcd; $custom-dark: #000000;
JSON
{
"hex": "#7d5cb7",
"rgb": {
"r": 125,
"g": 92,
"b": 183
},
"hsl": {
"h": 261.758,
"s": 38.723,
"l": 53.922
},
"oklch": {
"l": 0.55005,
"c": 0.13941,
"h": 298.4
},
"luminance": 0.15433
}Semantic roles & 50–950 ramp
primary
#7D5CB7
secondary
#BDCBA4
accent
#CF59A4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82