#7E45E6#7E45E6
#7E45E6 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.0% C 0.228 H 293.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7E45E6 |
|---|---|
| RGB | rgb(126, 69, 230) |
| HSL | hsl(261, 76%, 59%) |
| HSV | hsv(261, 70%, 90%) |
| CMYK | cmyk(45.2%, 70%, 0%, 9.8%) |
| CIE-LAB | lab(44.81, 58.31, -72.81) |
| CIE-LCH | lch(44.81, 93.28, 308.69°) |
| OKLab | oklab(55% 0.0917 -0.2085) |
| OKLCH | oklch(55% 0.228 293.7) |
| XYZ | xyz(25.0113, 14.4043, 76.3101) |
| Luminance | 0.1441 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.16
Purpley
#8756E4
ΔE00 4.40
Purpleish Blue
#6140EF
ΔE00 4.44
Blueviolet
#8A2BE2
ΔE00 4.49
Burple
#6832E3
ΔE00 5.40
Purpley Blue
#5F34E7
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E45E6 #ADE645
analogous
#455CE6 #7E45E6 #CE45E6
triadic
#7E45E6 #E67E45 #45E67E
tetradic
#7E45E6 #E6455C #ADE645 #45E6CE
square
#7E45E6 #E6455C #ADE645 #45E6CE
split-complementary
#7E45E6 #E6CE45 #5CE645
monochromatic
#45159C #5C1CD2 #7E45E6 #A37BED #C9B1F5
Accessibility & contrast
On white
5.41
#7E45E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#7E45E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E45E6
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E45E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E45E6 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0067E3
Tritanopia (blue-blind)
#606E91
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7e45e6; /* rgb */ color: rgb(126, 69, 230); /* oklch */ color: oklch(55.0% 0.228 293.7);
Tailwind
colors: {
custom: {
50: '#ac7def',
500: '#7e45e6',
950: '#000000',
},
}SCSS
$custom: #7e45e6; $custom-light: #ac7def; $custom-dark: #000000;
JSON
{
"hex": "#7e45e6",
"rgb": {
"r": 126,
"g": 69,
"b": 230
},
"hsl": {
"h": 261.242,
"s": 76.303,
"l": 58.627
},
"oklch": {
"l": 0.55,
"c": 0.22781,
"h": 293.7
},
"luminance": 0.14405
}Semantic roles & 50–950 ramp
primary
#7E45E6
secondary
#CDE3A4
accent
#F335B0
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85