#7A46BC#7A46BC
#7A46BC is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.178 H 300.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7A46BC |
|---|---|
| RGB | rgb(122, 70, 188) |
| HSL | hsl(266, 47%, 51%) |
| HSV | hsv(266, 63%, 74%) |
| CMYK | cmyk(35.1%, 62.8%, 0%, 26.3%) |
| CIE-LAB | lab(41.45, 46.20, -54.10) |
| CIE-LCH | lch(41.45, 71.15, 310.50°) |
| OKLab | oklab(51.52% 0.0906 -0.1537) |
| OKLCH | oklch(51.52% 0.178 300.5) |
| XYZ | xyz(19.2911, 12.1486, 48.8958) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.51
Bluey Purple
#6241C7
ΔE00 4.99
Darkorchid
#9932CC
ΔE00 6.09
Blueviolet
#8A2BE2
ΔE00 6.45
Bluish Purple
#703BE7
ΔE00 6.50
Purply
#983FB2
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A46BC #88BC46
analogous
#464DBC #7A46BC #B546BC
triadic
#7A46BC #BC7A46 #46BC7A
tetradic
#7A46BC #BC464D #88BC46 #46BCB5
square
#7A46BC #BC464D #88BC46 #46BCB5
split-complementary
#7A46BC #BCB546 #4DBC46
monochromatic
#402464 #5D3490 #7A46BC #9A73CC #BBA0DD
Accessibility & contrast
On white
6.12
#7A46BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#7A46BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A46BC
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A46BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A46BC | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#1961B9
Tritanopia (blue-blind)
#6C607A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7a46bc; /* rgb */ color: rgb(122, 70, 188); /* oklch */ color: oklch(51.5% 0.178 300.5);
Tailwind
colors: {
custom: {
50: '#a57cd1',
500: '#7a46bc',
950: '#000000',
},
}SCSS
$custom: #7a46bc; $custom-light: #a57cd1; $custom-dark: #000000;
JSON
{
"hex": "#7a46bc",
"rgb": {
"r": 122,
"g": 70,
"b": 188
},
"hsl": {
"h": 266.441,
"s": 46.825,
"l": 50.588
},
"oklch": {
"l": 0.51519,
"c": 0.17842,
"h": 300.5
},
"luminance": 0.12149
}Semantic roles & 50–950 ramp
primary
#7A46BC
secondary
#B2C995
accent
#D6519C
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82