#7D5DFD#7D5DFD
#7D5DFD is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.226 H 286.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5DFD |
|---|---|
| RGB | rgb(125, 93, 253) |
| HSL | hsl(252, 98%, 68%) |
| HSV | hsv(252, 63%, 99%) |
| CMYK | cmyk(50.6%, 63.2%, 0%, 0.8%) |
| CIE-LAB | lab(51.01, 51.95, -75.60) |
| CIE-LCH | lch(51.01, 91.73, 304.50°) |
| OKLab | oklab(59.98% 0.0647 -0.2168) |
| OKLCH | oklch(59.98% 0.226 286.6) |
| XYZ | xyz(30.0962, 19.2790, 95.0449) |
| Luminance | 0.1928 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.34
Purpley
#8756E4
ΔE00 4.41
Lighter Purple
#A55AF4
ΔE00 6.94
Light Indigo
#6D5ACF
ΔE00 7.04
Dark Periwinkle
#665FD1
ΔE00 7.20
Slate Blue
#6A5ACD
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5DFD #DDFD5D
analogous
#5D8DFD #7D5DFD #CD5DFD
triadic
#7D5DFD #FD7D5D #5DFD7D
tetradic
#7D5DFD #FD5D8D #DDFD5D #5DFDCD
square
#7D5DFD #FD5D8D #DDFD5D #5DFDCD
split-complementary
#7D5DFD #FDCD5D #8DFD5D
monochromatic
#2E03DD #4C21FC #7D5DFD #AE99FE #DED6FE
Accessibility & contrast
On white
4.32
#7D5DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#7D5DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5DFD
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5DFD | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0075FA
Tritanopia (blue-blind)
#4D84A5
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7d5dfd; /* rgb */ color: rgb(125, 93, 253); /* oklch */ color: oklch(60.0% 0.226 286.6);
Tailwind
colors: {
custom: {
50: '#ac8dff',
500: '#7d5dfd',
950: '#000000',
},
}SCSS
$custom: #7d5dfd; $custom-light: #ac8dff; $custom-dark: #000000;
JSON
{
"hex": "#7d5dfd",
"rgb": {
"r": 125,
"g": 93,
"b": 253
},
"hsl": {
"h": 252,
"s": 97.561,
"l": 67.843
},
"oklch": {
"l": 0.59981,
"c": 0.22628,
"h": 286.6
},
"luminance": 0.19281
}Semantic roles & 50–950 ramp
primary
#7D5DFD
secondary
#EAF4C2
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86