#7E5CFD#7E5CFD
#7E5CFD is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.227 H 287.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5CFD |
|---|---|
| RGB | rgb(126, 92, 253) |
| HSL | hsl(253, 98%, 68%) |
| HSV | hsv(253, 64%, 99%) |
| CMYK | cmyk(50.2%, 63.6%, 0%, 0.8%) |
| CIE-LAB | lab(50.90, 52.67, -75.79) |
| CIE-LCH | lch(50.90, 92.29, 304.80°) |
| OKLab | oklab(59.92% 0.067 -0.2173) |
| OKLCH | oklch(59.92% 0.227 287.1) |
| XYZ | xyz(30.1557, 19.1803, 95.0227) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.57
Purpley
#8756E4
ΔE00 4.21
Lighter Purple
#A55AF4
ΔE00 6.78
Light Indigo
#6D5ACF
ΔE00 7.04
Dark Periwinkle
#665FD1
ΔE00 7.29
Slate Blue
#6A5ACD
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5CFD #DBFD5C
analogous
#5C8AFD #7E5CFD #CF5CFD
triadic
#7E5CFD #FD7E5C #5CFD7E
tetradic
#7E5CFD #FD5C8A #DBFD5C #5CFDCF
square
#7E5CFD #FD5C8A #DBFD5C #5CFDCF
split-complementary
#7E5CFD #FDCF5C #8AFD5C
monochromatic
#3103DC #4E20FC #7E5CFD #AE98FE #DED5FE
Accessibility & contrast
On white
4.34
#7E5CFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#7E5CFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5CFD
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5CFD | 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)
#007DFF
Deuteranopia (green-blind)
#0075FA
Tritanopia (blue-blind)
#4F83A4
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e5cfd; /* rgb */ color: rgb(126, 92, 253); /* oklch */ color: oklch(59.9% 0.227 287.1);
Tailwind
colors: {
custom: {
50: '#ad8cff',
500: '#7e5cfd',
950: '#000000',
},
}SCSS
$custom: #7e5cfd; $custom-light: #ad8cff; $custom-dark: #000000;
JSON
{
"hex": "#7e5cfd",
"rgb": {
"r": 126,
"g": 92,
"b": 253
},
"hsl": {
"h": 252.671,
"s": 97.576,
"l": 67.647
},
"oklch": {
"l": 0.5992,
"c": 0.22741,
"h": 287.1
},
"luminance": 0.19182
}Semantic roles & 50–950 ramp
primary
#7E5CFD
secondary
#E9F3C1
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86