#7E5EEA#7E5EEA
#7E5EEA is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.8% C 0.202 H 289.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5EEA |
|---|---|
| RGB | rgb(126, 94, 234) |
| HSL | hsl(254, 77%, 64%) |
| HSV | hsv(254, 60%, 92%) |
| CMYK | cmyk(46.2%, 59.8%, 0%, 8.2%) |
| CIE-LAB | lab(49.95, 46.23, -66.70) |
| CIE-LCH | lch(49.95, 81.16, 304.73°) |
| OKLab | oklab(58.81% 0.0664 -0.1906) |
| OKLCH | oklch(58.81% 0.202 289.2) |
| XYZ | xyz(27.4539, 18.3805, 79.9272) |
| Luminance | 0.1838 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.85
Mediumslateblue
#7B68EE
ΔE00 3.06
Light Indigo
#6D5ACF
ΔE00 5.02
Dark Periwinkle
#665FD1
ΔE00 5.54
Slate Blue
#6A5ACD
ΔE00 5.56
Lighter Purple
#A55AF4
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5EEA #CAEA5E
analogous
#5E84EA #7E5EEA #C45EEA
triadic
#7E5EEA #EA7E5E #5EEA7E
tetradic
#7E5EEA #EA5E84 #CAEA5E #5EEAC4
square
#7E5EEA #EA5E84 #CAEA5E #5EEAC4
split-complementary
#7E5EEA #EAC45E #84EA5E
monochromatic
#3C18B6 #5328E3 #7E5EEA #A994F1 #D5CAF8
Accessibility & contrast
On white
4.49
#7E5EEA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#7E5EEA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E5EEA
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5EEA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E5EEA | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#5C7E9B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7e5eea; /* rgb */ color: rgb(126, 94, 234); /* oklch */ color: oklch(58.8% 0.202 289.2);
Tailwind
colors: {
custom: {
50: '#ab8df2',
500: '#7e5eea',
950: '#000000',
},
}SCSS
$custom: #7e5eea; $custom-light: #ab8df2; $custom-dark: #000000;
JSON
{
"hex": "#7e5eea",
"rgb": {
"r": 126,
"g": 94,
"b": 234
},
"hsl": {
"h": 253.714,
"s": 76.923,
"l": 64.314
},
"oklch": {
"l": 0.58806,
"c": 0.20185,
"h": 289.2
},
"luminance": 0.18382
}Semantic roles & 50–950 ramp
primary
#7E5EEA
secondary
#DFEABA
accent
#D90CAA
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85