#7B49BA#7B49BA

#7B49BA is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.172 H 301.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7B49BA
RGBrgb(123, 73, 186)
HSLhsl(267, 45%, 51%)
HSVhsv(267, 61%, 73%)
CMYKcmyk(33.9%, 60.8%, 0%, 27.1%)
CIE-LABlab(42.03, 44.31, -51.99)
CIE-LCHlch(42.03, 68.31, 310.44°)
OKLaboklab(51.93% 0.0885 -0.1474)
OKLCHoklch(51.93% 0.172 301)
XYZxyz(19.4117, 12.5211, 47.8390)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49BA #88BA49
analogous
#494FBA #7B49BA #B449BA
triadic
#7B49BA #BA7B49 #49BA7B
tetradic
#7B49BA #BA494F #88BA49 #49BAB4
square
#7B49BA #BA494F #88BA49 #49BAB4
split-complementary
#7B49BA #BAB449 #4FBA49
monochromatic
#412663 #5E368F #7B49BA #9B75CB #BBA2DC

Accessibility & contrast

On white

5.99
#7B49BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7B49BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49BA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49BA#FFFFFF#000000##FFFFFF
##7B49BA1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#2563B7
Tritanopia (blue-blind)
#6E617A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b49ba;
/* rgb */ color: rgb(123, 73, 186);
/* oklch */ color: oklch(51.9% 0.172 301.0);
Tailwind
colors: {
  custom: {
    50: '#a57ecf',
    500: '#7b49ba',
    950: '#000000',
  },
}
SCSS
$custom: #7b49ba;
$custom-light: #a57ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49ba",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 266.549,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51925,
    "c": 0.17197,
    "h": 301
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#7B49BA
secondary
#B2C896
accent
#D5539B
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7B49BA

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

Preview Lab → · Contrast checker → · Palette generator →

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