#7A49BA#7A49BA
#7A49BA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.172 H 300.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7A49BA |
|---|---|
| RGB | rgb(122, 73, 186) |
| HSL | hsl(266, 45%, 51%) |
| HSV | hsv(266, 61%, 73%) |
| CMYK | cmyk(34.4%, 60.8%, 0%, 27.1%) |
| CIE-LAB | lab(41.92, 44.08, -52.18) |
| CIE-LCH | lch(41.92, 68.30, 310.19°) |
| OKLab | oklab(51.82% 0.0872 -0.148) |
| OKLCH | oklch(51.82% 0.172 300.5) |
| XYZ | xyz(19.2694, 12.4477, 47.8323) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.80
Bluey Purple
#6241C7
ΔE00 5.41
Darkorchid
#9932CC
ΔE00 6.50
Purply
#983FB2
ΔE00 6.70
Light Indigo
#6D5ACF
ΔE00 6.70
Slate Blue
#6A5ACD
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A49BA #89BA49
analogous
#4950BA #7A49BA #B349BA
triadic
#7A49BA #BA7A49 #49BA7A
tetradic
#7A49BA #BA4950 #89BA49 #49BAB3
square
#7A49BA #BA4950 #89BA49 #49BAB3
split-complementary
#7A49BA #BAB349 #50BA49
monochromatic
#402663 #5D368F #7A49BA #9A75CB #BBA2DC
Accessibility & contrast
On white
6.02
#7A49BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#7A49BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A49BA
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A49BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A49BA | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#2362B7
Tritanopia (blue-blind)
#6D617A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7a49ba; /* rgb */ color: rgb(122, 73, 186); /* oklch */ color: oklch(51.8% 0.172 300.5);
Tailwind
colors: {
custom: {
50: '#a57ecf',
500: '#7a49ba',
950: '#000000',
},
}SCSS
$custom: #7a49ba; $custom-light: #a57ecf; $custom-dark: #000000;
JSON
{
"hex": "#7a49ba",
"rgb": {
"r": 122,
"g": 73,
"b": 186
},
"hsl": {
"h": 266.018,
"s": 45.02,
"l": 50.784
},
"oklch": {
"l": 0.51816,
"c": 0.17179,
"h": 300.5
},
"luminance": 0.12448
}Semantic roles & 50–950 ramp
primary
#7A49BA
secondary
#B3C896
accent
#D5539D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82