#7E5CF5#7E5CF5
#7E5CF5 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.3% C 0.218 H 288.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5CF5 |
|---|---|
| RGB | rgb(126, 92, 245) |
| HSL | hsl(253, 88%, 66%) |
| HSV | hsv(253, 62%, 96%) |
| CMYK | cmyk(48.6%, 62.4%, 0%, 3.9%) |
| CIE-LAB | lab(50.31, 50.42, -72.28) |
| CIE-LCH | lch(50.31, 88.13, 304.90°) |
| OKLab | oklab(59.31% 0.0677 -0.207) |
| OKLCH | oklch(59.31% 0.218 288.1) |
| XYZ | xyz(28.9080, 18.6812, 88.4511) |
| Luminance | 0.1868 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.38
Purpley
#8756E4
ΔE00 3.38
Light Indigo
#6D5ACF
ΔE00 6.10
Dark Periwinkle
#665FD1
ΔE00 6.51
Slate Blue
#6A5ACD
ΔE00 6.61
Lighter Purple
#A55AF4
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5CF5 #D3F55C
analogous
#5C86F5 #7E5CF5 #CA5CF5
triadic
#7E5CF5 #F57E5C #5CF57E
tetradic
#7E5CF5 #F55C86 #D3F55C #5CF5CA
square
#7E5CF5 #F55C86 #D3F55C #5CF5CA
split-complementary
#7E5CF5 #F5CA5C #86F55C
monochromatic
#370CCA #5022F1 #7E5CF5 #AC96F9 #D9CFFC
Accessibility & contrast
On white
4.43
#7E5CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#7E5CF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5CF5
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5CF5 | 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)
#007BFA
Deuteranopia (green-blind)
#0074F2
Tritanopia (blue-blind)
#5581A0
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7e5cf5; /* rgb */ color: rgb(126, 92, 245); /* oklch */ color: oklch(59.3% 0.218 288.1);
Tailwind
colors: {
custom: {
50: '#ac8cf9',
500: '#7e5cf5',
950: '#000000',
},
}SCSS
$custom: #7e5cf5; $custom-light: #ac8cf9; $custom-dark: #000000;
JSON
{
"hex": "#7e5cf5",
"rgb": {
"r": 126,
"g": 92,
"b": 245
},
"hsl": {
"h": 253.333,
"s": 88.439,
"l": 66.078
},
"oklch": {
"l": 0.59312,
"c": 0.21783,
"h": 288.1
},
"luminance": 0.18682
}Semantic roles & 50–950 ramp
primary
#7E5CF5
secondary
#E4F0BD
accent
#E500B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85