#7D5DF7#7D5DF7
#7D5DF7 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.5% C 0.219 H 287.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5DF7 |
|---|---|
| RGB | rgb(125, 93, 247) |
| HSL | hsl(252, 91%, 67%) |
| HSV | hsv(252, 62%, 97%) |
| CMYK | cmyk(49.4%, 62.3%, 0%, 3.1%) |
| CIE-LAB | lab(50.57, 50.25, -72.98) |
| CIE-LCH | lch(50.57, 88.61, 304.55°) |
| OKLab | oklab(59.52% 0.0653 -0.2091) |
| OKLCH | oklch(59.52% 0.219 287.3) |
| XYZ | xyz(29.1554, 18.9027, 90.0900) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.14
Purpley
#8756E4
ΔE00 3.81
Light Indigo
#6D5ACF
ΔE00 6.33
Dark Periwinkle
#665FD1
ΔE00 6.59
Slate Blue
#6A5ACD
ΔE00 6.81
Lighter Purple
#A55AF4
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5DF7 #D7F75D
analogous
#5D8AF7 #7D5DF7 #CA5DF7
triadic
#7D5DF7 #F77D5D #5DF77D
tetradic
#7D5DF7 #F75D8A #D7F75D #5DF7CA
square
#7D5DF7 #F75D8A #D7F75D #5DF7CA
split-complementary
#7D5DF7 #F7CA5D #8AF75D
monochromatic
#330ACF #4E23F4 #7D5DF7 #AC97FA #DBD2FD
Accessibility & contrast
On white
4.39
#7D5DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#7D5DF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5DF7
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5DF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5DF7 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFC
Deuteranopia (green-blind)
#0074F4
Tritanopia (blue-blind)
#5182A2
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7d5df7; /* rgb */ color: rgb(125, 93, 247); /* oklch */ color: oklch(59.5% 0.219 287.3);
Tailwind
colors: {
custom: {
50: '#ac8cfb',
500: '#7d5df7',
950: '#000000',
},
}SCSS
$custom: #7d5df7; $custom-light: #ac8cfb; $custom-dark: #000000;
JSON
{
"hex": "#7d5df7",
"rgb": {
"r": 125,
"g": 93,
"b": 247
},
"hsl": {
"h": 252.468,
"s": 90.588,
"l": 66.667
},
"oklch": {
"l": 0.59525,
"c": 0.21906,
"h": 287.3
},
"luminance": 0.18904
}Semantic roles & 50–950 ramp
primary
#7D5DF7
secondary
#E6F1BF
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86