#7E5BF8#7E5BF8
#7E5BF8 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.223 H 287.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5BF8 |
|---|---|
| RGB | rgb(126, 91, 248) |
| HSL | hsl(253, 92%, 66%) |
| HSV | hsv(253, 63%, 97%) |
| CMYK | cmyk(49.2%, 63.3%, 0%, 2.7%) |
| CIE-LAB | lab(50.33, 51.81, -73.93) |
| CIE-LCH | lch(50.33, 90.28, 305.02°) |
| OKLab | oklab(59.39% 0.0684 -0.2119) |
| OKLCH | oklch(59.39% 0.223 287.9) |
| XYZ | xyz(29.2836, 18.6938, 90.8540) |
| Luminance | 0.1870 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.55
Mediumslateblue
#7B68EE
ΔE00 3.66
Light Indigo
#6D5ACF
ΔE00 6.39
Lighter Purple
#A55AF4
ΔE00 6.75
Dark Periwinkle
#665FD1
ΔE00 6.80
Slate Blue
#6A5ACD
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5BF8 #D5F85B
analogous
#5B87F8 #7E5BF8 #CD5BF8
triadic
#7E5BF8 #F87E5B #5BF87E
tetradic
#7E5BF8 #F85B87 #D5F85B #5BF8CD
square
#7E5BF8 #F85B87 #D5F85B #5BF8CD
split-complementary
#7E5BF8 #F8CD5B #87F85B
monochromatic
#3509D0 #5020F5 #7E5BF8 #AC96FB #DAD0FD
Accessibility & contrast
On white
4.43
#7E5BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#7E5BF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5BF8
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5BF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5BF8 | 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)
#007BFD
Deuteranopia (green-blind)
#0074F5
Tritanopia (blue-blind)
#5381A1
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7e5bf8; /* rgb */ color: rgb(126, 91, 248); /* oklch */ color: oklch(59.4% 0.223 287.9);
Tailwind
colors: {
custom: {
50: '#ac8bfc',
500: '#7e5bf8',
950: '#000000',
},
}SCSS
$custom: #7e5bf8; $custom-light: #ac8bfc; $custom-dark: #000000;
JSON
{
"hex": "#7e5bf8",
"rgb": {
"r": 126,
"g": 91,
"b": 248
},
"hsl": {
"h": 253.376,
"s": 91.813,
"l": 66.471
},
"oklch": {
"l": 0.59391,
"c": 0.22266,
"h": 287.9
},
"luminance": 0.18695
}Semantic roles & 50–950 ramp
primary
#7E5BF8
secondary
#E6F1BE
accent
#E600B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86