#7D5CF4#7D5CF4
#7D5CF4 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.217 H 287.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5CF4 |
|---|---|
| RGB | rgb(125, 92, 244) |
| HSL | hsl(253, 87%, 66%) |
| HSV | hsv(253, 62%, 96%) |
| CMYK | cmyk(48.8%, 62.3%, 0%, 4.3%) |
| CIE-LAB | lab(50.15, 49.96, -71.99) |
| CIE-LCH | lch(50.15, 87.63, 304.76°) |
| OKLab | oklab(59.15% 0.0665 -0.2062) |
| OKLCH | oklch(59.15% 0.217 287.9) |
| XYZ | xyz(28.6090, 18.5446, 87.6424) |
| Luminance | 0.1855 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.36
Purpley
#8756E4
ΔE00 3.36
Light Indigo
#6D5ACF
ΔE00 5.90
Dark Periwinkle
#665FD1
ΔE00 6.31
Slate Blue
#6A5ACD
ΔE00 6.40
Lighter Purple
#A55AF4
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5CF4 #D3F45C
analogous
#5C87F4 #7D5CF4 #C95CF4
triadic
#7D5CF4 #F47D5C #5CF47D
tetradic
#7D5CF4 #F45C87 #D3F45C #5CF4C9
square
#7D5CF4 #F45C87 #D3F45C #5CF4C9
split-complementary
#7D5CF4 #F4C95C #87F45C
monochromatic
#360EC8 #4F23F0 #7D5CF4 #AB95F8 #D8CFFC
Accessibility & contrast
On white
4.46
#7D5CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#7D5CF4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5CF4
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5CF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5CF4 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF9
Deuteranopia (green-blind)
#0073F1
Tritanopia (blue-blind)
#5380A0
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7d5cf4; /* rgb */ color: rgb(125, 92, 244); /* oklch */ color: oklch(59.2% 0.217 287.9);
Tailwind
colors: {
custom: {
50: '#ab8cf9',
500: '#7d5cf4',
950: '#000000',
},
}SCSS
$custom: #7d5cf4; $custom-light: #ab8cf9; $custom-dark: #000000;
JSON
{
"hex": "#7d5cf4",
"rgb": {
"r": 125,
"g": 92,
"b": 244
},
"hsl": {
"h": 253.026,
"s": 87.356,
"l": 65.882
},
"oklch": {
"l": 0.5915,
"c": 0.21667,
"h": 287.9
},
"luminance": 0.18546
}Semantic roles & 50–950 ramp
primary
#7D5CF4
secondary
#E4EFBD
accent
#E402B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85