#7E5FF3#7E5FF3
#7E5FF3 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.6% C 0.212 H 287.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5FF3 |
|---|---|
| RGB | rgb(126, 95, 243) |
| HSL | hsl(253, 86%, 66%) |
| HSV | hsv(253, 61%, 95%) |
| CMYK | cmyk(48.1%, 60.9%, 0%, 4.7%) |
| CIE-LAB | lab(50.79, 48.20, -70.39) |
| CIE-LCH | lch(50.79, 85.31, 304.41°) |
| OKLab | oklab(59.62% 0.0649 -0.2015) |
| OKLCH | oklch(59.62% 0.212 287.8) |
| XYZ | xyz(28.8694, 19.0898, 86.9402) |
| Luminance | 0.1909 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.60
Purpley
#8756E4
ΔE00 3.73
Light Indigo
#6D5ACF
ΔE00 6.11
Dark Periwinkle
#665FD1
ΔE00 6.34
Slate Blue
#6A5ACD
ΔE00 6.61
Lighter Purple
#A55AF4
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5FF3 #D4F35F
analogous
#5F8AF3 #7E5FF3 #C85FF3
triadic
#7E5FF3 #F37E5F #5FF37E
tetradic
#7E5FF3 #F35F8A #D4F35F #5FF3C8
square
#7E5FF3 #F35F8A #D4F35F #5FF3C8
split-complementary
#7E5FF3 #F3C85F #8AF35F
monochromatic
#360FC9 #5026EF #7E5FF3 #AC98F7 #DAD1FC
Accessibility & contrast
On white
4.36
#7E5FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7E5FF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5FF3
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5FF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5FF3 | 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)
#007CF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#5682A0
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e5ff3; /* rgb */ color: rgb(126, 95, 243); /* oklch */ color: oklch(59.6% 0.212 287.8);
Tailwind
colors: {
custom: {
50: '#ac8ef8',
500: '#7e5ff3',
950: '#000000',
},
}SCSS
$custom: #7e5ff3; $custom-light: #ac8ef8; $custom-dark: #000000;
JSON
{
"hex": "#7e5ff3",
"rgb": {
"r": 126,
"g": 95,
"b": 243
},
"hsl": {
"h": 252.568,
"s": 86.047,
"l": 66.275
},
"oklch": {
"l": 0.59616,
"c": 0.21164,
"h": 287.8
},
"luminance": 0.19091
}Semantic roles & 50–950 ramp
primary
#7E5FF3
secondary
#E5EFBF
accent
#E303B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85