#7B46BF#7B46BF
#7B46BF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.182 H 300.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7B46BF |
|---|---|
| RGB | rgb(123, 70, 191) |
| HSL | hsl(266, 49%, 51%) |
| HSV | hsv(266, 63%, 75%) |
| CMYK | cmyk(35.6%, 63.4%, 0%, 25.1%) |
| CIE-LAB | lab(41.77, 47.19, -55.33) |
| CIE-LCH | lch(41.77, 72.72, 310.46°) |
| OKLab | oklab(51.84% 0.0918 -0.1573) |
| OKLCH | oklch(51.84% 0.182 300.3) |
| XYZ | xyz(19.7602, 12.3527, 50.6234) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.84
Bluey Purple
#6241C7
ΔE00 4.95
Darkorchid
#9932CC
ΔE00 5.86
Blueviolet
#8A2BE2
ΔE00 6.09
Bluish Purple
#703BE7
ΔE00 6.13
Purply
#983FB2
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B46BF #8ABF46
analogous
#464DBF #7B46BF #B746BF
triadic
#7B46BF #BF7B46 #46BF7B
tetradic
#7B46BF #BF464D #8ABF46 #46BFB7
square
#7B46BF #BF464D #8ABF46 #46BFB7
split-complementary
#7B46BF #BFB746 #4DBF46
monochromatic
#412467 #5E3394 #7B46BF #9B73CF #BCA1DE
Accessibility & contrast
On white
6.05
#7B46BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#7B46BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B46BF
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B46BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B46BF | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#1362BC
Tritanopia (blue-blind)
#6C617C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7b46bf; /* rgb */ color: rgb(123, 70, 191); /* oklch */ color: oklch(51.8% 0.182 300.3);
Tailwind
colors: {
custom: {
50: '#a67cd3',
500: '#7b46bf',
950: '#000000',
},
}SCSS
$custom: #7b46bf; $custom-light: #a67cd3; $custom-dark: #000000;
JSON
{
"hex": "#7b46bf",
"rgb": {
"r": 123,
"g": 70,
"b": 191
},
"hsl": {
"h": 266.281,
"s": 48.594,
"l": 51.176
},
"oklch": {
"l": 0.51842,
"c": 0.18209,
"h": 300.3
},
"luminance": 0.12353
}Semantic roles & 50–950 ramp
primary
#7B46BF
secondary
#B4CB96
accent
#D8509C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83