#7B46E1#7B46E1
#7B46E1 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.4% C 0.221 H 293.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7B46E1 |
|---|---|
| RGB | rgb(123, 70, 225) |
| HSL | hsl(261, 72%, 58%) |
| HSV | hsv(261, 69%, 88%) |
| CMYK | cmyk(45.3%, 68.9%, 0%, 11.8%) |
| CIE-LAB | lab(44.27, 56.00, -70.86) |
| CIE-LCH | lch(44.27, 90.32, 308.32°) |
| OKLab | oklab(54.42% 0.0875 -0.2029) |
| OKLCH | oklch(54.42% 0.221 293.3) |
| XYZ | xyz(23.9454, 14.0268, 72.6654) |
| Luminance | 0.1403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.95
Purpleish Blue
#6140EF
ΔE00 4.23
Purpley
#8756E4
ΔE00 4.62
Blueviolet
#8A2BE2
ΔE00 4.65
Burple
#6832E3
ΔE00 5.11
Bluey Purple
#6241C7
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B46E1 #ACE146
analogous
#465EE1 #7B46E1 #C846E1
triadic
#7B46E1 #E17B46 #46E17B
tetradic
#7B46E1 #E1465E #ACE146 #46E1C8
square
#7B46E1 #E1465E #ACE146 #46E1C8
split-complementary
#7B46E1 #E1C846 #5EE146
monochromatic
#431895 #5A21C9 #7B46E1 #A17BEA #C6AFF2
Accessibility & contrast
On white
5.52
#7B46E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#7B46E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B46E1
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B46E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B46E1 | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#5D6D8E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7b46e1; /* rgb */ color: rgb(123, 70, 225); /* oklch */ color: oklch(54.4% 0.221 293.3);
Tailwind
colors: {
custom: {
50: '#a97deb',
500: '#7b46e1',
950: '#000000',
},
}SCSS
$custom: #7b46e1; $custom-light: #a97deb; $custom-dark: #000000;
JSON
{
"hex": "#7b46e1",
"rgb": {
"r": 123,
"g": 70,
"b": 225
},
"hsl": {
"h": 260.516,
"s": 72.093,
"l": 57.843
},
"oklch": {
"l": 0.54423,
"c": 0.22098,
"h": 293.3
},
"luminance": 0.14028
}Semantic roles & 50–950 ramp
primary
#7B46E1
secondary
#CBE0A2
accent
#EF39B1
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84