#7E5FF5#7E5FF5
#7E5FF5 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.214 H 287.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5FF5 |
|---|---|
| RGB | rgb(126, 95, 245) |
| HSL | hsl(252, 88%, 67%) |
| HSV | hsv(252, 61%, 96%) |
| CMYK | cmyk(48.6%, 61.2%, 0%, 3.9%) |
| CIE-LAB | lab(50.93, 48.77, -71.27) |
| CIE-LCH | lch(50.93, 86.36, 304.38°) |
| OKLab | oklab(59.76% 0.0647 -0.2041) |
| OKLCH | oklch(59.76% 0.214 287.6) |
| XYZ | xyz(29.1730, 19.2113, 88.5395) |
| Luminance | 0.1921 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.63
Purpley
#8756E4
ΔE00 3.90
Light Indigo
#6D5ACF
ΔE00 6.34
Dark Periwinkle
#665FD1
ΔE00 6.53
Lighter Purple
#A55AF4
ΔE00 6.78
Slate Blue
#6A5ACD
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5FF5 #D6F55F
analogous
#5F8BF5 #7E5FF5 #C95FF5
triadic
#7E5FF5 #F57E5F #5FF57E
tetradic
#7E5FF5 #F55F8B #D6F55F #5FF5C9
square
#7E5FF5 #F55F8B #D6F55F #5FF5C9
split-complementary
#7E5FF5 #F5C95F #8BF55F
monochromatic
#340DCD #5025F1 #7E5FF5 #AC99F9 #DBD2FC
Accessibility & contrast
On white
4.34
#7E5FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#7E5FF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5FF5
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5FF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5FF5 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#0075F2
Tritanopia (blue-blind)
#5582A1
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e5ff5; /* rgb */ color: rgb(126, 95, 245); /* oklch */ color: oklch(59.8% 0.214 287.6);
Tailwind
colors: {
custom: {
50: '#ac8ef9',
500: '#7e5ff5',
950: '#000000',
},
}SCSS
$custom: #7e5ff5; $custom-light: #ac8ef9; $custom-dark: #000000;
JSON
{
"hex": "#7e5ff5",
"rgb": {
"r": 126,
"g": 95,
"b": 245
},
"hsl": {
"h": 252.4,
"s": 88.235,
"l": 66.667
},
"oklch": {
"l": 0.59764,
"c": 0.21409,
"h": 287.6
},
"luminance": 0.19213
}Semantic roles & 50–950 ramp
primary
#7E5FF5
secondary
#E6F0C0
accent
#E501B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85