#7D5FC3#7D5FC3
#7D5FC3 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.3% C 0.151 H 294.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5FC3 |
|---|---|
| RGB | rgb(125, 95, 195) |
| HSL | hsl(258, 45%, 57%) |
| HSV | hsv(258, 51%, 76%) |
| CMYK | cmyk(35.9%, 51.3%, 0%, 23.5%) |
| CIE-LAB | lab(47.60, 34.68, -48.28) |
| CIE-LCH | lch(47.60, 59.44, 305.69°) |
| OKLab | oklab(56.26% 0.0635 -0.1365) |
| OKLCH | oklch(56.26% 0.151 294.9) |
| XYZ | xyz(22.3975, 16.4841, 53.6209) |
| Luminance | 0.1648 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.22
Slate Blue
#6A5ACD
ΔE00 4.55
Deep Lavender
#8D5EB7
ΔE00 4.76
Dark Periwinkle
#665FD1
ΔE00 5.43
Purpley
#8756E4
ΔE00 5.56
Iris
#6258C4
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5FC3 #A5C35F
analogous
#5F73C3 #7D5FC3 #AF5FC3
triadic
#7D5FC3 #C37D5F #5FC37D
tetradic
#7D5FC3 #C35F73 #A5C35F #5FC3AF
square
#7D5FC3 #C35F73 #A5C35F #5FC3AF
split-complementary
#7D5FC3 #C3AF5F #73C35F
monochromatic
#452E7A #5E3EA6 #7D5FC3 #A18CD4 #C5B8E4
Accessibility & contrast
On white
4.89
#7D5FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#7D5FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5FC3
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5FC3 | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3872C6
Deuteranopia (green-blind)
#3F6FC1
Tritanopia (blue-blind)
#6C7388
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7d5fc3; /* rgb */ color: rgb(125, 95, 195); /* oklch */ color: oklch(56.3% 0.151 294.9);
Tailwind
colors: {
custom: {
50: '#a68dd6',
500: '#7d5fc3',
950: '#000000',
},
}SCSS
$custom: #7d5fc3; $custom-light: #a68dd6; $custom-dark: #000000;
JSON
{
"hex": "#7d5fc3",
"rgb": {
"r": 125,
"g": 95,
"b": 195
},
"hsl": {
"h": 258,
"s": 45.455,
"l": 56.863
},
"oklch": {
"l": 0.56257,
"c": 0.15055,
"h": 294.9
},
"luminance": 0.16485
}Semantic roles & 50–950 ramp
primary
#7D5FC3
secondary
#C7D3AB
accent
#D553AE
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83