#7D5DF9#7D5DF9
#7D5DF9 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.221 H 287.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5DF9 |
|---|---|
| RGB | rgb(125, 93, 249) |
| HSL | hsl(252, 93%, 67%) |
| HSV | hsv(252, 63%, 98%) |
| CMYK | cmyk(49.8%, 62.7%, 0%, 2.4%) |
| CIE-LAB | lab(50.72, 50.82, -73.86) |
| CIE-LCH | lch(50.72, 89.65, 304.53°) |
| OKLab | oklab(59.68% 0.0651 -0.2117) |
| OKLCH | oklch(59.68% 0.221 287.1) |
| XYZ | xyz(29.4657, 19.0268, 91.7241) |
| Luminance | 0.1903 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.19
Purpley
#8756E4
ΔE00 4.00
Light Indigo
#6D5ACF
ΔE00 6.56
Dark Periwinkle
#665FD1
ΔE00 6.79
Lighter Purple
#A55AF4
ΔE00 6.91
Slate Blue
#6A5ACD
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5DF9 #D9F95D
analogous
#5D8BF9 #7D5DF9 #CB5DF9
triadic
#7D5DF9 #F97D5D #5DF97D
tetradic
#7D5DF9 #F95D8B #D9F95D #5DF9CB
square
#7D5DF9 #F95D8B #D9F95D #5DF9CB
split-complementary
#7D5DF9 #F9CB5D #8BF95D
monochromatic
#3208D4 #4E22F7 #7D5DF9 #AC98FB #DCD3FD
Accessibility & contrast
On white
4.37
#7D5DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#7D5DF9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5DF9
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5DF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5DF9 | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFE
Deuteranopia (green-blind)
#0074F6
Tritanopia (blue-blind)
#5083A3
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7d5df9; /* rgb */ color: rgb(125, 93, 249); /* oklch */ color: oklch(59.7% 0.221 287.1);
Tailwind
colors: {
custom: {
50: '#ac8cfc',
500: '#7d5df9',
950: '#000000',
},
}SCSS
$custom: #7d5df9; $custom-light: #ac8cfc; $custom-dark: #000000;
JSON
{
"hex": "#7d5df9",
"rgb": {
"r": 125,
"g": 93,
"b": 249
},
"hsl": {
"h": 252.308,
"s": 92.857,
"l": 67.059
},
"oklch": {
"l": 0.59677,
"c": 0.22147,
"h": 287.1
},
"luminance": 0.19028
}Semantic roles & 50–950 ramp
primary
#7D5DF9
secondary
#E8F2C0
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86