#7C46E1#7C46E1
#7C46E1 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.5% C 0.221 H 293.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7C46E1 |
|---|---|
| RGB | rgb(124, 70, 225) |
| HSL | hsl(261, 72%, 58%) |
| HSV | hsv(261, 69%, 88%) |
| CMYK | cmyk(44.9%, 68.9%, 0%, 11.8%) |
| CIE-LAB | lab(44.38, 56.17, -70.68) |
| CIE-LCH | lch(44.38, 90.29, 308.47°) |
| OKLab | oklab(54.52% 0.0889 -0.2024) |
| OKLCH | oklch(54.52% 0.221 293.7) |
| XYZ | xyz(24.0892, 14.1009, 72.6721) |
| Luminance | 0.1410 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.06
Purpleish Blue
#6140EF
ΔE00 4.38
Purpley
#8756E4
ΔE00 4.53
Blueviolet
#8A2BE2
ΔE00 4.59
Burple
#6832E3
ΔE00 5.22
Bluey Purple
#6241C7
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C46E1 #ABE146
analogous
#465EE1 #7C46E1 #C946E1
triadic
#7C46E1 #E17C46 #46E17C
tetradic
#7C46E1 #E1465E #ABE146 #46E1C9
square
#7C46E1 #E1465E #ABE146 #46E1C9
split-complementary
#7C46E1 #E1C946 #5EE146
monochromatic
#431895 #5B21C9 #7C46E1 #A17BEA #C7AFF2
Accessibility & contrast
On white
5.50
#7C46E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#7C46E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C46E1
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C46E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C46E1 | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE6
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#5F6D8E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7c46e1; /* rgb */ color: rgb(124, 70, 225); /* oklch */ color: oklch(54.5% 0.221 293.7);
Tailwind
colors: {
custom: {
50: '#aa7deb',
500: '#7c46e1',
950: '#000000',
},
}SCSS
$custom: #7c46e1; $custom-light: #aa7deb; $custom-dark: #000000;
JSON
{
"hex": "#7c46e1",
"rgb": {
"r": 124,
"g": 70,
"b": 225
},
"hsl": {
"h": 260.903,
"s": 72.093,
"l": 57.843
},
"oklch": {
"l": 0.54523,
"c": 0.22103,
"h": 293.7
},
"luminance": 0.14102
}Semantic roles & 50–950 ramp
primary
#7C46E1
secondary
#CBE0A2
accent
#EF39AF
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84