#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
RGBrgb(122, 73, 186)
HSLhsl(266, 45%, 51%)
HSVhsv(266, 61%, 73%)
CMYKcmyk(34.4%, 60.8%, 0%, 27.1%)
CIE-LABlab(41.92, 44.08, -52.18)
CIE-LCHlch(41.92, 68.30, 310.19°)
OKLaboklab(51.82% 0.0872 -0.148)
OKLCHoklch(51.82% 0.172 300.5)
XYZxyz(19.2694, 12.4477, 47.8323)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##7A49BA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.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

Preview Lab

Preview with #7A49BA

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

Preview Lab → · Contrast checker → · Palette generator →

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