#7E5DF3#7E5DF3
#7E5DF3 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.3% C 0.214 H 288.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5DF3 |
|---|---|
| RGB | rgb(126, 93, 243) |
| HSL | hsl(253, 86%, 66%) |
| HSV | hsv(253, 62%, 95%) |
| CMYK | cmyk(48.1%, 61.7%, 0%, 4.7%) |
| CIE-LAB | lab(50.37, 49.31, -71.06) |
| CIE-LCH | lch(50.37, 86.50, 304.76°) |
| OKLab | oklab(59.31% 0.0669 -0.2034) |
| OKLCH | oklch(59.31% 0.214 288.2) |
| XYZ | xyz(28.6915, 18.7341, 86.8809) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.12
Purpley
#8756E4
ΔE00 3.35
Light Indigo
#6D5ACF
ΔE00 5.94
Dark Periwinkle
#665FD1
ΔE00 6.32
Slate Blue
#6A5ACD
ΔE00 6.45
Lighter Purple
#A55AF4
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5DF3 #D2F35D
analogous
#5D87F3 #7E5DF3 #C95DF3
triadic
#7E5DF3 #F37E5D #5DF37E
tetradic
#7E5DF3 #F35D87 #D2F35D #5DF3C9
square
#7E5DF3 #F35D87 #D2F35D #5DF3C9
split-complementary
#7E5DF3 #F3C95D #87F35D
monochromatic
#370FC7 #5124EF #7E5DF3 #AB96F7 #D9CFFB
Accessibility & contrast
On white
4.42
#7E5DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#7E5DF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5DF3
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5DF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5DF3 | 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)
#007BF8
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#56819F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7e5df3; /* rgb */ color: rgb(126, 93, 243); /* oklch */ color: oklch(59.3% 0.214 288.2);
Tailwind
colors: {
custom: {
50: '#ac8cf8',
500: '#7e5df3',
950: '#000000',
},
}SCSS
$custom: #7e5df3; $custom-light: #ac8cf8; $custom-dark: #000000;
JSON
{
"hex": "#7e5df3",
"rgb": {
"r": 126,
"g": 93,
"b": 243
},
"hsl": {
"h": 253.2,
"s": 86.207,
"l": 65.882
},
"oklch": {
"l": 0.59312,
"c": 0.21416,
"h": 288.2
},
"luminance": 0.18735
}Semantic roles & 50–950 ramp
primary
#7E5DF3
secondary
#E4EFBD
accent
#E303B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85