#7D5EF7#7D5EF7
#7D5EF7 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.218 H 287.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5EF7 |
|---|---|
| RGB | rgb(125, 94, 247) |
| HSL | hsl(252, 91%, 67%) |
| HSV | hsv(252, 62%, 97%) |
| CMYK | cmyk(49.4%, 61.9%, 0%, 3.1%) |
| CIE-LAB | lab(50.78, 49.70, -72.64) |
| CIE-LCH | lch(50.78, 88.02, 304.38°) |
| OKLab | oklab(59.68% 0.0643 -0.2081) |
| OKLCH | oklch(59.68% 0.218 287.2) |
| XYZ | xyz(29.2437, 19.0794, 90.1195) |
| Luminance | 0.1908 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.90
Purpley
#8756E4
ΔE00 3.97
Light Indigo
#6D5ACF
ΔE00 6.41
Dark Periwinkle
#665FD1
ΔE00 6.60
Slate Blue
#6A5ACD
ΔE00 6.88
Lighter Purple
#A55AF4
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5EF7 #D8F75E
analogous
#5E8CF7 #7D5EF7 #CA5EF7
triadic
#7D5EF7 #F77D5E #5EF77D
tetradic
#7D5EF7 #F75E8C #D8F75E #5EF7CA
square
#7D5EF7 #F75E8C #D8F75E #5EF7CA
split-complementary
#7D5EF7 #F7CA5E #8CF75E
monochromatic
#320AD0 #4E24F4 #7D5EF7 #AC98FA #DBD3FD
Accessibility & contrast
On white
4.36
#7D5EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7D5EF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5EF7
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5EF7 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#0075F4
Tritanopia (blue-blind)
#5183A2
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7d5ef7; /* rgb */ color: rgb(125, 94, 247); /* oklch */ color: oklch(59.7% 0.218 287.2);
Tailwind
colors: {
custom: {
50: '#ac8dfb',
500: '#7d5ef7',
950: '#000000',
},
}SCSS
$custom: #7d5ef7; $custom-light: #ac8dfb; $custom-dark: #000000;
JSON
{
"hex": "#7d5ef7",
"rgb": {
"r": 125,
"g": 94,
"b": 247
},
"hsl": {
"h": 252.157,
"s": 90.533,
"l": 66.863
},
"oklch": {
"l": 0.59676,
"c": 0.21782,
"h": 287.2
},
"luminance": 0.19081
}Semantic roles & 50–950 ramp
primary
#7D5EF7
secondary
#E7F1C0
accent
#E600B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85