#7E5FF6#7E5FF6
#7E5FF6 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.8% C 0.215 H 287.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5FF6 |
|---|---|
| RGB | rgb(126, 95, 246) |
| HSL | hsl(252, 89%, 67%) |
| HSV | hsv(252, 61%, 96%) |
| CMYK | cmyk(48.8%, 61.4%, 0%, 3.5%) |
| CIE-LAB | lab(51.00, 49.05, -71.72) |
| CIE-LCH | lch(51.00, 86.89, 304.37°) |
| OKLab | oklab(59.84% 0.0647 -0.2054) |
| OKLCH | oklch(59.84% 0.215 287.5) |
| XYZ | xyz(29.3261, 19.2725, 89.3457) |
| Luminance | 0.1927 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.66
Purpley
#8756E4
ΔE00 4.00
Light Indigo
#6D5ACF
ΔE00 6.46
Dark Periwinkle
#665FD1
ΔE00 6.63
Lighter Purple
#A55AF4
ΔE00 6.78
Slate Blue
#6A5ACD
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5FF6 #D7F65F
analogous
#5F8CF6 #7E5FF6 #CA5FF6
triadic
#7E5FF6 #F67E5F #5FF67E
tetradic
#7E5FF6 #F65F8C #D7F65F #5FF6CA
square
#7E5FF6 #F65F8C #D7F65F #5FF6CA
split-complementary
#7E5FF6 #F6CA5F #8CF65F
monochromatic
#340CCF #4F25F3 #7E5FF6 #AD99F9 #DBD3FD
Accessibility & contrast
On white
4.33
#7E5FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#7E5FF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5FF6
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5FF6 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#5483A2
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e5ff6; /* rgb */ color: rgb(126, 95, 246); /* oklch */ color: oklch(59.8% 0.215 287.5);
Tailwind
colors: {
custom: {
50: '#ac8efa',
500: '#7e5ff6',
950: '#000000',
},
}SCSS
$custom: #7e5ff6; $custom-light: #ac8efa; $custom-dark: #000000;
JSON
{
"hex": "#7e5ff6",
"rgb": {
"r": 126,
"g": 95,
"b": 246
},
"hsl": {
"h": 252.318,
"s": 89.349,
"l": 66.863
},
"oklch": {
"l": 0.59838,
"c": 0.21531,
"h": 287.5
},
"luminance": 0.19274
}Semantic roles & 50–950 ramp
primary
#7E5FF6
secondary
#E7F1C0
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85