#7E5AEA#7E5AEA
#7E5AEA is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.2% C 0.207 H 289.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5AEA |
|---|---|
| RGB | rgb(126, 90, 234) |
| HSL | hsl(255, 77%, 64%) |
| HSV | hsv(255, 62%, 92%) |
| CMYK | cmyk(46.2%, 61.5%, 0%, 8.2%) |
| CIE-LAB | lab(49.11, 48.45, -68.06) |
| CIE-LCH | lch(49.11, 83.55, 305.45°) |
| OKLab | oklab(58.19% 0.0706 -0.1946) |
| OKLCH | oklch(58.19% 0.207 289.9) |
| XYZ | xyz(27.1074, 17.6874, 79.8117) |
| Luminance | 0.1769 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.13
Mediumslateblue
#7B68EE
ΔE00 4.12
Light Indigo
#6D5ACF
ΔE00 4.79
Slate Blue
#6A5ACD
ΔE00 5.35
Dark Periwinkle
#665FD1
ΔE00 5.66
Lighter Purple
#A55AF4
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5AEA #C6EA5A
analogous
#5A7EEA #7E5AEA #C65AEA
triadic
#7E5AEA #EA7E5A #5AEA7E
tetradic
#7E5AEA #EA5A7E #C6EA5A #5AEAC6
square
#7E5AEA #EA5A7E #C6EA5A #5AEAC6
split-complementary
#7E5AEA #EAC65A #7EEA5A
monochromatic
#3E17B3 #5424E3 #7E5AEA #A890F1 #D3C7F8
Accessibility & contrast
On white
4.63
#7E5AEA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#7E5AEA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7E5AEA
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5AEA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E5AEA | 1.00 | 4.63 | 4.54 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#5C7C9A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7e5aea; /* rgb */ color: rgb(126, 90, 234); /* oklch */ color: oklch(58.2% 0.207 289.9);
Tailwind
colors: {
custom: {
50: '#ab8af2',
500: '#7e5aea',
950: '#000000',
},
}SCSS
$custom: #7e5aea; $custom-light: #ab8af2; $custom-dark: #000000;
JSON
{
"hex": "#7e5aea",
"rgb": {
"r": 126,
"g": 90,
"b": 234
},
"hsl": {
"h": 255,
"s": 77.419,
"l": 63.529
},
"oklch": {
"l": 0.58194,
"c": 0.20704,
"h": 289.9
},
"luminance": 0.17688
}Semantic roles & 50–950 ramp
primary
#7E5AEA
secondary
#DDE9B6
accent
#DA0CA6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85