#7D5CF7#7D5CF7
#7D5CF7 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.220 H 287.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5CF7 |
|---|---|
| RGB | rgb(125, 92, 247) |
| HSL | hsl(253, 91%, 66%) |
| HSV | hsv(253, 63%, 97%) |
| CMYK | cmyk(49.4%, 62.8%, 0%, 3.1%) |
| CIE-LAB | lab(50.37, 50.80, -73.31) |
| CIE-LCH | lch(50.37, 89.19, 304.72°) |
| OKLab | oklab(59.38% 0.0662 -0.2101) |
| OKLCH | oklch(59.38% 0.22 287.5) |
| XYZ | xyz(29.0682, 18.7283, 90.0609) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.38
Purpley
#8756E4
ΔE00 3.65
Light Indigo
#6D5ACF
ΔE00 6.26
Dark Periwinkle
#665FD1
ΔE00 6.59
Slate Blue
#6A5ACD
ΔE00 6.74
Lighter Purple
#A55AF4
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5CF7 #D6F75C
analogous
#5C89F7 #7D5CF7 #CB5CF7
triadic
#7D5CF7 #F77D5C #5CF77D
tetradic
#7D5CF7 #F75C89 #D6F75C #5CF7CB
square
#7D5CF7 #F75C89 #D6F75C #5CF7CB
split-complementary
#7D5CF7 #F7CB5C #89F75C
monochromatic
#340ACE #4E22F4 #7D5CF7 #AC96FA #DAD1FD
Accessibility & contrast
On white
4.42
#7D5CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#7D5CF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5CF7
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5CF7 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFC
Deuteranopia (green-blind)
#0074F4
Tritanopia (blue-blind)
#5181A1
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7d5cf7; /* rgb */ color: rgb(125, 92, 247); /* oklch */ color: oklch(59.4% 0.220 287.5);
Tailwind
colors: {
custom: {
50: '#ac8cfb',
500: '#7d5cf7',
950: '#000000',
},
}SCSS
$custom: #7d5cf7; $custom-light: #ac8cfb; $custom-dark: #000000;
JSON
{
"hex": "#7d5cf7",
"rgb": {
"r": 125,
"g": 92,
"b": 247
},
"hsl": {
"h": 252.774,
"s": 90.643,
"l": 66.471
},
"oklch": {
"l": 0.59376,
"c": 0.22029,
"h": 287.5
},
"luminance": 0.1873
}Semantic roles & 50–950 ramp
primary
#7D5CF7
secondary
#E6F1BE
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86