#7E5DFF#7E5DFF
#7E5DFF is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.2% C 0.229 H 286.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5DFF |
|---|---|
| RGB | rgb(126, 93, 255) |
| HSL | hsl(252, 100%, 68%) |
| HSV | hsv(252, 64%, 100%) |
| CMYK | cmyk(50.6%, 63.5%, 0%, 0%) |
| CIE-LAB | lab(51.25, 52.69, -76.33) |
| CIE-LCH | lch(51.25, 92.75, 304.62°) |
| OKLab | oklab(60.22% 0.0658 -0.2189) |
| OKLCH | oklch(60.22% 0.229 286.7) |
| XYZ | xyz(30.5632, 19.4828, 96.7385) |
| Luminance | 0.1948 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.46
Purpley
#8756E4
ΔE00 4.57
Lighter Purple
#A55AF4
ΔE00 6.81
Light Indigo
#6D5ACF
ΔE00 7.34
Dark Periwinkle
#665FD1
ΔE00 7.50
Slate Blue
#6A5ACD
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5DFF #DEFF5D
analogous
#5D8DFF #7E5DFF #CF5DFF
triadic
#7E5DFF #FF7E5D #5DFF7E
tetradic
#7E5DFF #FF5D8D #DEFF5D #5DFFCF
square
#7E5DFF #FF5D8D #DEFF5D #5DFFCF
split-complementary
#7E5DFF #FFCF5D #8DFF5D
monochromatic
#2E00E2 #4D20FF #7E5DFF #AF9AFF #DFD7FF
Accessibility & contrast
On white
4.29
#7E5DFF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#7E5DFF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5DFF
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5DFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5DFF | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0075FC
Tritanopia (blue-blind)
#4D85A6
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7e5dff; /* rgb */ color: rgb(126, 93, 255); /* oklch */ color: oklch(60.2% 0.229 286.7);
Tailwind
colors: {
custom: {
50: '#ad8dff',
500: '#7e5dff',
950: '#000000',
},
}SCSS
$custom: #7e5dff; $custom-light: #ad8dff; $custom-dark: #000000;
JSON
{
"hex": "#7e5dff",
"rgb": {
"r": 126,
"g": 93,
"b": 255
},
"hsl": {
"h": 252.222,
"s": 100,
"l": 68.235
},
"oklch": {
"l": 0.60219,
"c": 0.2286,
"h": 286.7
},
"luminance": 0.19484
}Semantic roles & 50–950 ramp
primary
#7E5DFF
secondary
#EAF4C3
accent
#E600B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86