#7E5DF9#7E5DF9
#7E5DF9 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.8% C 0.221 H 287.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5DF9 |
|---|---|
| RGB | rgb(126, 93, 249) |
| HSL | hsl(253, 93%, 67%) |
| HSV | hsv(253, 63%, 98%) |
| CMYK | cmyk(49.4%, 62.7%, 0%, 2.4%) |
| CIE-LAB | lab(50.81, 51.00, -73.71) |
| CIE-LCH | lch(50.81, 89.63, 304.68°) |
| OKLab | oklab(59.76% 0.0664 -0.2112) |
| OKLCH | oklch(59.76% 0.221 287.4) |
| XYZ | xyz(29.6124, 19.1025, 91.7310) |
| Luminance | 0.1910 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.21
Purpley
#8756E4
ΔE00 3.94
Light Indigo
#6D5ACF
ΔE00 6.64
Lighter Purple
#A55AF4
ΔE00 6.75
Dark Periwinkle
#665FD1
ΔE00 6.90
Slate Blue
#6A5ACD
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5DF9 #D8F95D
analogous
#5D8AF9 #7E5DF9 #CC5DF9
triadic
#7E5DF9 #F97E5D #5DF97E
tetradic
#7E5DF9 #F95D8A #D8F95D #5DF9CC
square
#7E5DF9 #F95D8A #D8F95D #5DF9CC
split-complementary
#7E5DF9 #F9CC5D #8AF95D
monochromatic
#3308D4 #4F22F7 #7E5DF9 #AD98FB #DCD3FD
Accessibility & contrast
On white
4.36
#7E5DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7E5DF9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5DF9
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5DF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5DF9 | 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)
#007DFE
Deuteranopia (green-blind)
#0075F6
Tritanopia (blue-blind)
#5283A3
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e5df9; /* rgb */ color: rgb(126, 93, 249); /* oklch */ color: oklch(59.8% 0.221 287.4);
Tailwind
colors: {
custom: {
50: '#ac8cfc',
500: '#7e5df9',
950: '#000000',
},
}SCSS
$custom: #7e5df9; $custom-light: #ac8cfc; $custom-dark: #000000;
JSON
{
"hex": "#7e5df9",
"rgb": {
"r": 126,
"g": 93,
"b": 249
},
"hsl": {
"h": 252.692,
"s": 92.857,
"l": 67.059
},
"oklch": {
"l": 0.59762,
"c": 0.22141,
"h": 287.4
},
"luminance": 0.19104
}Semantic roles & 50–950 ramp
primary
#7E5DF9
secondary
#E7F2C0
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86