#7E60E4#7E60E4
#7E60E4 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.192 H 289.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7E60E4 |
|---|---|
| RGB | rgb(126, 96, 228) |
| HSL | hsl(254, 71%, 64%) |
| HSV | hsv(254, 58%, 89%) |
| CMYK | cmyk(44.7%, 57.9%, 0%, 10.6%) |
| CIE-LAB | lab(49.98, 43.42, -63.28) |
| CIE-LCH | lch(49.98, 76.75, 304.46°) |
| OKLab | oklab(58.7% 0.0644 -0.1806) |
| OKLCH | oklch(58.7% 0.192 289.6) |
| XYZ | xyz(26.7867, 18.4018, 75.5243) |
| Luminance | 0.1840 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.94
Purpley
#8756E4
ΔE00 3.09
Light Indigo
#6D5ACF
ΔE00 4.63
Dark Periwinkle
#665FD1
ΔE00 5.11
Slate Blue
#6A5ACD
ΔE00 5.17
Mediumpurple
#9370DB
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E60E4 #C6E460
analogous
#6084E4 #7E60E4 #C060E4
triadic
#7E60E4 #E47E60 #60E47E
tetradic
#7E60E4 #E46084 #C6E460 #60E4C0
square
#7E60E4 #E46084 #C6E460 #60E4C0
split-complementary
#7E60E4 #E4C060 #84E460
monochromatic
#3E1DAC #542CDB #7E60E4 #A894ED #D3C9F6
Accessibility & contrast
On white
4.49
#7E60E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#7E60E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E60E4
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E60E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E60E4 | 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)
#0079E8
Deuteranopia (green-blind)
#0174E1
Tritanopia (blue-blind)
#5F7E99
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7e60e4; /* rgb */ color: rgb(126, 96, 228); /* oklch */ color: oklch(58.7% 0.192 289.6);
Tailwind
colors: {
custom: {
50: '#aa8eed',
500: '#7e60e4',
950: '#000000',
},
}SCSS
$custom: #7e60e4; $custom-light: #aa8eed; $custom-dark: #000000;
JSON
{
"hex": "#7e60e4",
"rgb": {
"r": 126,
"g": 96,
"b": 228
},
"hsl": {
"h": 253.636,
"s": 70.968,
"l": 63.529
},
"oklch": {
"l": 0.58696,
"c": 0.1917,
"h": 289.6
},
"luminance": 0.18403
}Semantic roles & 50–950 ramp
primary
#7E60E4
secondary
#DDE7B9
accent
#D313A7
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84