#7C51E9#7C51E9
#7C51E9 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.6% C 0.217 H 290.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7C51E9 |
|---|---|
| RGB | rgb(124, 81, 233) |
| HSL | hsl(257, 78%, 62%) |
| HSV | hsv(257, 65%, 91%) |
| CMYK | cmyk(46.8%, 65.2%, 0%, 8.6%) |
| CIE-LAB | lab(47.04, 52.67, -70.87) |
| CIE-LCH | lch(47.04, 88.30, 306.62°) |
| OKLab | oklab(56.63% 0.0772 -0.2029) |
| OKLCH | oklch(56.63% 0.217 290.8) |
| XYZ | xyz(25.9584, 16.0522, 78.8056) |
| Luminance | 0.1605 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.44
Light Indigo
#6D5ACF
ΔE00 4.82
Slate Blue
#6A5ACD
ΔE00 5.34
Bluish Purple
#703BE7
ΔE00 5.44
Purpleish Blue
#6140EF
ΔE00 5.65
Dark Periwinkle
#665FD1
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C51E9 #BEE951
analogous
#5172E9 #7C51E9 #C851E9
triadic
#7C51E9 #E97C51 #51E97C
tetradic
#7C51E9 #E95172 #BEE951 #51E9C8
square
#7C51E9 #E95172 #BEE951 #51E9C8
split-complementary
#7C51E9 #E9C851 #72E951
monochromatic
#4016AA #541CE0 #7C51E9 #A587F0 #CEBEF7
Accessibility & contrast
On white
4.99
#7C51E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#7C51E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C51E9
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C51E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C51E9 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#006CE6
Tritanopia (blue-blind)
#5A7696
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7c51e9; /* rgb */ color: rgb(124, 81, 233); /* oklch */ color: oklch(56.6% 0.217 290.8);
Tailwind
colors: {
custom: {
50: '#aa84f1',
500: '#7c51e9',
950: '#000000',
},
}SCSS
$custom: #7c51e9; $custom-light: #aa84f1; $custom-dark: #000000;
JSON
{
"hex": "#7c51e9",
"rgb": {
"r": 124,
"g": 81,
"b": 233
},
"hsl": {
"h": 256.974,
"s": 77.551,
"l": 61.569
},
"oklch": {
"l": 0.56625,
"c": 0.21712,
"h": 290.8
},
"luminance": 0.16053
}Semantic roles & 50–950 ramp
primary
#7C51E9
secondary
#D7E7AF
accent
#DA0C9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85