#7D5EF1#7D5EF1
#7D5EF1 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.2% C 0.210 H 287.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5EF1 |
|---|---|
| RGB | rgb(125, 94, 241) |
| HSL | hsl(253, 84%, 66%) |
| HSV | hsv(253, 61%, 95%) |
| CMYK | cmyk(48.1%, 61%, 0%, 5.5%) |
| CIE-LAB | lab(50.35, 48.00, -69.99) |
| CIE-LCH | lch(50.35, 84.87, 304.45°) |
| OKLab | oklab(59.23% 0.0647 -0.2003) |
| OKLCH | oklch(59.23% 0.211 287.9) |
| XYZ | xyz(28.3327, 18.7150, 85.3215) |
| Luminance | 0.1872 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.84
Purpley
#8756E4
ΔE00 3.44
Light Indigo
#6D5ACF
ΔE00 5.71
Dark Periwinkle
#665FD1
ΔE00 6.02
Slate Blue
#6A5ACD
ΔE00 6.21
Lighter Purple
#A55AF4
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5EF1 #D2F15E
analogous
#5E88F1 #7D5EF1 #C65EF1
triadic
#7D5EF1 #F17D5E #5EF17D
tetradic
#7D5EF1 #F15E88 #D2F15E #5EF1C6
square
#7D5EF1 #F15E88 #D2F15E #5EF1C6
split-complementary
#7D5EF1 #F1C65E #88F15E
monochromatic
#3711C4 #5026EC #7D5EF1 #AA96F6 #D8CFFB
Accessibility & contrast
On white
4.43
#7D5EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#7D5EF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5EF1
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5EF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5EF1 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#0074EE
Tritanopia (blue-blind)
#55819F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7d5ef1; /* rgb */ color: rgb(125, 94, 241); /* oklch */ color: oklch(59.2% 0.210 287.9);
Tailwind
colors: {
custom: {
50: '#ab8df7',
500: '#7d5ef1',
950: '#000000',
},
}SCSS
$custom: #7d5ef1; $custom-light: #ab8df7; $custom-dark: #000000;
JSON
{
"hex": "#7d5ef1",
"rgb": {
"r": 125,
"g": 94,
"b": 241
},
"hsl": {
"h": 252.653,
"s": 84,
"l": 65.686
},
"oklch": {
"l": 0.59229,
"c": 0.2105,
"h": 287.9
},
"luminance": 0.18716
}Semantic roles & 50–950 ramp
primary
#7D5EF1
secondary
#E4EEBD
accent
#E005B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85