#7B49BB#7B49BB
#7B49BB is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.173 H 300.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7B49BB |
|---|---|
| RGB | rgb(123, 73, 187) |
| HSL | hsl(266, 46%, 51%) |
| HSV | hsv(266, 61%, 73%) |
| CMYK | cmyk(34.2%, 61%, 0%, 26.7%) |
| CIE-LAB | lab(42.10, 44.56, -52.47) |
| CIE-LCH | lch(42.10, 68.84, 310.34°) |
| OKLab | oklab(51.99% 0.0885 -0.1489) |
| OKLCH | oklch(51.99% 0.173 300.7) |
| XYZ | xyz(19.5184, 12.5638, 48.4008) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.90
Bluey Purple
#6241C7
ΔE00 5.50
Darkorchid
#9932CC
ΔE00 6.32
Purply
#983FB2
ΔE00 6.58
Light Indigo
#6D5ACF
ΔE00 6.69
Slate Blue
#6A5ACD
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B49BB #89BB49
analogous
#4950BB #7B49BB #B449BB
triadic
#7B49BB #BB7B49 #49BB7B
tetradic
#7B49BB #BB4950 #89BB49 #49BBB4
square
#7B49BB #BB4950 #89BB49 #49BBB4
split-complementary
#7B49BB #BBB449 #50BB49
monochromatic
#412564 #5E3691 #7B49BB #9B76CC #BCA2DC
Accessibility & contrast
On white
5.98
#7B49BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#7B49BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B49BB
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B49BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B49BB | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#2363B8
Tritanopia (blue-blind)
#6E617B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7b49bb; /* rgb */ color: rgb(123, 73, 187); /* oklch */ color: oklch(52.0% 0.173 300.7);
Tailwind
colors: {
custom: {
50: '#a57ed0',
500: '#7b49bb',
950: '#000000',
},
}SCSS
$custom: #7b49bb; $custom-light: #a57ed0; $custom-dark: #000000;
JSON
{
"hex": "#7b49bb",
"rgb": {
"r": 123,
"g": 73,
"b": 187
},
"hsl": {
"h": 266.316,
"s": 45.6,
"l": 50.98
},
"oklch": {
"l": 0.51994,
"c": 0.17316,
"h": 300.7
},
"luminance": 0.12564
}Semantic roles & 50–950 ramp
primary
#7B49BB
secondary
#B3C997
accent
#D5539C
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82