#7E5DF2#7E5DF2
#7E5DF2 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.2% C 0.213 H 288.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5DF2 |
|---|---|
| RGB | rgb(126, 93, 242) |
| HSL | hsl(253, 85%, 66%) |
| HSV | hsv(253, 62%, 95%) |
| CMYK | cmyk(47.9%, 61.6%, 0%, 5.1%) |
| CIE-LAB | lab(50.30, 49.03, -70.62) |
| CIE-LCH | lch(50.30, 85.97, 304.77°) |
| OKLab | oklab(59.24% 0.0669 -0.2021) |
| OKLCH | oklch(59.24% 0.213 288.3) |
| XYZ | xyz(28.5409, 18.6739, 86.0878) |
| Luminance | 0.1867 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.12
Purpley
#8756E4
ΔE00 3.26
Light Indigo
#6D5ACF
ΔE00 5.83
Dark Periwinkle
#665FD1
ΔE00 6.23
Slate Blue
#6A5ACD
ΔE00 6.34
Lighter Purple
#A55AF4
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5DF2 #D1F25D
analogous
#5D86F2 #7E5DF2 #C95DF2
triadic
#7E5DF2 #F27E5D #5DF27E
tetradic
#7E5DF2 #F25D86 #D1F25D #5DF2C9
square
#7E5DF2 #F25D86 #D1F25D #5DF2C9
split-complementary
#7E5DF2 #F2C95D #86F25D
monochromatic
#3810C5 #5124ED #7E5DF2 #AB96F7 #D8CEFB
Accessibility & contrast
On white
4.44
#7E5DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#7E5DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5DF2
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5DF2 | 1.00 | 4.44 | 4.74 | 4.74 |
| #FFFFFF | 4.44 | 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)
#007BF7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#57809F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7e5df2; /* rgb */ color: rgb(126, 93, 242); /* oklch */ color: oklch(59.2% 0.213 288.3);
Tailwind
colors: {
custom: {
50: '#ac8cf7',
500: '#7e5df2',
950: '#000000',
},
}SCSS
$custom: #7e5df2; $custom-light: #ac8cf7; $custom-dark: #000000;
JSON
{
"hex": "#7e5df2",
"rgb": {
"r": 126,
"g": 93,
"b": 242
},
"hsl": {
"h": 253.289,
"s": 85.143,
"l": 65.686
},
"oklch": {
"l": 0.59238,
"c": 0.21295,
"h": 288.3
},
"luminance": 0.18675
}Semantic roles & 50–950 ramp
primary
#7E5DF2
secondary
#E3EEBD
accent
#E204B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85