#7D5FC0#7D5FC0
#7D5FC0 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.1% C 0.147 H 295.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5FC0 |
|---|---|
| RGB | rgb(125, 95, 192) |
| HSL | hsl(259, 43%, 56%) |
| HSV | hsv(259, 51%, 75%) |
| CMYK | cmyk(34.9%, 50.5%, 0%, 24.7%) |
| CIE-LAB | lab(47.43, 33.88, -46.82) |
| CIE-LCH | lch(47.43, 57.79, 305.89°) |
| OKLab | oklab(56.07% 0.0632 -0.1322) |
| OKLCH | oklch(56.07% 0.147 295.6) |
| XYZ | xyz(22.0617, 16.3498, 51.8524) |
| Luminance | 0.1635 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.44
Light Indigo
#6D5ACF
ΔE00 4.57
Slate Blue
#6A5ACD
ΔE00 4.87
Royal Purple
#7851A9
ΔE00 5.63
Dark Periwinkle
#665FD1
ΔE00 5.77
Iris
#6258C4
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5FC0 #A2C05F
analogous
#5F72C0 #7D5FC0 #AE5FC0
triadic
#7D5FC0 #C07D5F #5FC07D
tetradic
#7D5FC0 #C05F72 #A2C05F #5FC0AE
square
#7D5FC0 #C05F72 #A2C05F #5FC0AE
split-complementary
#7D5FC0 #C0AE5F #72C05F
monochromatic
#452F76 #5E40A2 #7D5FC0 #A18BD1 #C4B7E3
Accessibility & contrast
On white
4.92
#7D5FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#7D5FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5FC0
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5FC0 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B71C3
Deuteranopia (green-blind)
#416FBE
Tritanopia (blue-blind)
#6E7286
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7d5fc0; /* rgb */ color: rgb(125, 95, 192); /* oklch */ color: oklch(56.1% 0.147 295.6);
Tailwind
colors: {
custom: {
50: '#a68dd3',
500: '#7d5fc0',
950: '#000000',
},
}SCSS
$custom: #7d5fc0; $custom-light: #a68dd3; $custom-dark: #000000;
JSON
{
"hex": "#7d5fc0",
"rgb": {
"r": 125,
"g": 95,
"b": 192
},
"hsl": {
"h": 258.557,
"s": 43.498,
"l": 56.275
},
"oklch": {
"l": 0.56072,
"c": 0.14659,
"h": 295.6
},
"luminance": 0.1635
}Semantic roles & 50–950 ramp
primary
#7D5FC0
secondary
#C5D1A9
accent
#D355AC
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83