#7A46BB#7A46BB
#7A46BB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.177 H 300.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7A46BB |
|---|---|
| RGB | rgb(122, 70, 187) |
| HSL | hsl(267, 46%, 50%) |
| HSV | hsv(267, 63%, 73%) |
| CMYK | cmyk(34.8%, 62.6%, 0%, 26.7%) |
| CIE-LAB | lab(41.38, 45.95, -53.63) |
| CIE-LCH | lch(41.38, 70.62, 310.59°) |
| OKLab | oklab(51.45% 0.0907 -0.1523) |
| OKLCH | oklch(51.45% 0.177 300.8) |
| XYZ | xyz(19.1837, 12.1056, 48.3300) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.40
Bluey Purple
#6241C7
ΔE00 5.08
Darkorchid
#9932CC
ΔE00 6.12
Blueviolet
#8A2BE2
ΔE00 6.56
Purply
#983FB2
ΔE00 6.62
Bluish Purple
#703BE7
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A46BB #87BB46
analogous
#464CBB #7A46BB #B546BB
triadic
#7A46BB #BB7A46 #46BB7A
tetradic
#7A46BB #BB464C #87BB46 #46BBB5
square
#7A46BB #BB464C #87BB46 #46BBB5
split-complementary
#7A46BB #BBB546 #4CBB46
monochromatic
#402462 #5D358F #7A46BB #9A73CB #BAA0DC
Accessibility & contrast
On white
6.14
#7A46BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#7A46BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A46BB
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A46BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A46BB | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#1B61B8
Tritanopia (blue-blind)
#6C5F7A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7a46bb; /* rgb */ color: rgb(122, 70, 187); /* oklch */ color: oklch(51.4% 0.177 300.8);
Tailwind
colors: {
custom: {
50: '#a57cd0',
500: '#7a46bb',
950: '#000000',
},
}SCSS
$custom: #7a46bb; $custom-light: #a57cd0; $custom-dark: #000000;
JSON
{
"hex": "#7a46bb",
"rgb": {
"r": 122,
"g": 70,
"b": 187
},
"hsl": {
"h": 266.667,
"s": 46.245,
"l": 50.392
},
"oklch": {
"l": 0.51448,
"c": 0.17725,
"h": 300.8
},
"luminance": 0.12106
}Semantic roles & 50–950 ramp
primary
#7A46BB
secondary
#B1C894
accent
#D6529B
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82