#7A49BB#7A49BB
#7A49BB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.173 H 300.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #7A49BB |
|---|---|
| RGB | rgb(122, 73, 187) |
| HSL | hsl(266, 46%, 51%) |
| HSV | hsv(266, 61%, 73%) |
| CMYK | cmyk(34.8%, 61%, 0%, 26.7%) |
| CIE-LAB | lab(41.99, 44.33, -52.66) |
| CIE-LCH | lch(41.99, 68.83, 310.10°) |
| OKLab | oklab(51.89% 0.0871 -0.1494) |
| OKLCH | oklch(51.89% 0.173 300.2) |
| XYZ | xyz(19.3761, 12.4904, 48.3941) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.92
Bluey Purple
#6241C7
ΔE00 5.33
Darkorchid
#9932CC
ΔE00 6.47
Light Indigo
#6D5ACF
ΔE00 6.60
Purply
#983FB2
ΔE00 6.76
Slate Blue
#6A5ACD
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A49BB #8ABB49
analogous
#4951BB #7A49BB #B349BB
triadic
#7A49BB #BB7A49 #49BB7A
tetradic
#7A49BB #BB4951 #8ABB49 #49BBB3
square
#7A49BB #BB4951 #8ABB49 #49BBB3
split-complementary
#7A49BB #BBB349 #51BB49
monochromatic
#402564 #5D3691 #7A49BB #9B76CC #BBA2DC
Accessibility & contrast
On white
6.00
#7A49BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#7A49BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A49BB
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A49BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A49BB | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#2162B8
Tritanopia (blue-blind)
#6C617B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7a49bb; /* rgb */ color: rgb(122, 73, 187); /* oklch */ color: oklch(51.9% 0.173 300.2);
Tailwind
colors: {
custom: {
50: '#a57ed0',
500: '#7a49bb',
950: '#000000',
},
}SCSS
$custom: #7a49bb; $custom-light: #a57ed0; $custom-dark: #000000;
JSON
{
"hex": "#7a49bb",
"rgb": {
"r": 122,
"g": 73,
"b": 187
},
"hsl": {
"h": 265.789,
"s": 45.6,
"l": 50.98
},
"oklch": {
"l": 0.51885,
"c": 0.17298,
"h": 300.2
},
"luminance": 0.12491
}Semantic roles & 50–950 ramp
primary
#7A49BB
secondary
#B3C997
accent
#D5539D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82