#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
RGBrgb(123, 73, 187)
HSLhsl(266, 46%, 51%)
HSVhsv(266, 61%, 73%)
CMYKcmyk(34.2%, 61%, 0%, 26.7%)
CIE-LABlab(42.10, 44.56, -52.47)
CIE-LCHlch(42.10, 68.84, 310.34°)
OKLaboklab(51.99% 0.0885 -0.1489)
OKLCHoklch(51.99% 0.173 300.7)
XYZxyz(19.5184, 12.5638, 48.4008)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##7B49BB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.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

Preview Lab

Preview with #7B49BB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7B49BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva