#7E5CF2#7E5CF2
#7E5CF2 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.1% C 0.214 H 288.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5CF2 |
|---|---|
| RGB | rgb(126, 92, 242) |
| HSL | hsl(254, 85%, 65%) |
| HSV | hsv(254, 62%, 95%) |
| CMYK | cmyk(47.9%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(50.10, 49.58, -70.96) |
| CIE-LCH | lch(50.10, 86.56, 304.94°) |
| OKLab | oklab(59.09% 0.068 -0.2031) |
| OKLCH | oklch(59.09% 0.214 288.5) |
| XYZ | xyz(28.4537, 18.4995, 86.0587) |
| Luminance | 0.1850 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.09
Mediumslateblue
#7B68EE
ΔE00 3.38
Light Indigo
#6D5ACF
ΔE00 5.76
Dark Periwinkle
#665FD1
ΔE00 6.24
Slate Blue
#6A5ACD
ΔE00 6.27
Lighter Purple
#A55AF4
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5CF2 #D0F25C
analogous
#5C85F2 #7E5CF2 #C95CF2
triadic
#7E5CF2 #F27E5C #5CF27E
tetradic
#7E5CF2 #F25C85 #D0F25C #5CF2C9
square
#7E5CF2 #F25C85 #D0F25C #5CF2C9
split-complementary
#7E5CF2 #F2C95C #85F25C
monochromatic
#3910C4 #5123ED #7E5CF2 #AB95F7 #D8CDFB
Accessibility & contrast
On white
4.47
#7E5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#7E5CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5CF2
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5CF2 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#57809F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7e5cf2; /* rgb */ color: rgb(126, 92, 242); /* oklch */ color: oklch(59.1% 0.214 288.5);
Tailwind
colors: {
custom: {
50: '#ac8cf7',
500: '#7e5cf2',
950: '#000000',
},
}SCSS
$custom: #7e5cf2; $custom-light: #ac8cf7; $custom-dark: #000000;
JSON
{
"hex": "#7e5cf2",
"rgb": {
"r": 126,
"g": 92,
"b": 242
},
"hsl": {
"h": 253.6,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.59087,
"c": 0.2142,
"h": 288.5
},
"luminance": 0.18501
}Semantic roles & 50–950 ramp
primary
#7E5CF2
secondary
#E3EEBC
accent
#E204AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85