#7A46BE#7A46BE
#7A46BE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.181 H 300.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7A46BE |
|---|---|
| RGB | rgb(122, 70, 190) |
| HSL | hsl(266, 48%, 51%) |
| HSV | hsv(266, 63%, 75%) |
| CMYK | cmyk(35.8%, 63.2%, 0%, 25.5%) |
| CIE-LAB | lab(41.59, 46.71, -55.05) |
| CIE-LCH | lch(41.59, 72.20, 310.32°) |
| OKLab | oklab(51.66% 0.0905 -0.1565) |
| OKLCH | oklch(51.66% 0.181 300) |
| XYZ | xyz(19.5082, 12.2354, 50.0391) |
| Luminance | 0.1224 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.75
Bluey Purple
#6241C7
ΔE00 4.84
Darkorchid
#9932CC
ΔE00 6.04
Bluish Purple
#703BE7
ΔE00 6.20
Blueviolet
#8A2BE2
ΔE00 6.24
Purply
#983FB2
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A46BE #8ABE46
analogous
#464EBE #7A46BE #B646BE
triadic
#7A46BE #BE7A46 #46BE7A
tetradic
#7A46BE #BE464E #8ABE46 #46BEB6
square
#7A46BE #BE464E #8ABE46 #46BEB6
split-complementary
#7A46BE #BEB646 #4EBE46
monochromatic
#402466 #5D3493 #7A46BE #9B73CE #BBA1DE
Accessibility & contrast
On white
6.09
#7A46BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#7A46BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A46BE
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A46BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A46BE | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#1461BB
Tritanopia (blue-blind)
#6B607B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7a46be; /* rgb */ color: rgb(122, 70, 190); /* oklch */ color: oklch(51.7% 0.181 300.0);
Tailwind
colors: {
custom: {
50: '#a57cd2',
500: '#7a46be',
950: '#000000',
},
}SCSS
$custom: #7a46be; $custom-light: #a57cd2; $custom-dark: #000000;
JSON
{
"hex": "#7a46be",
"rgb": {
"r": 122,
"g": 70,
"b": 190
},
"hsl": {
"h": 266,
"s": 48,
"l": 50.98
},
"oklch": {
"l": 0.51661,
"c": 0.18076,
"h": 300
},
"luminance": 0.12236
}Semantic roles & 50–950 ramp
primary
#7A46BE
secondary
#B3CA95
accent
#D8509D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83