#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
RGBrgb(122, 73, 187)
HSLhsl(266, 46%, 51%)
HSVhsv(266, 61%, 73%)
CMYKcmyk(34.8%, 61%, 0%, 26.7%)
CIE-LABlab(41.99, 44.33, -52.66)
CIE-LCHlch(41.99, 68.83, 310.10°)
OKLaboklab(51.89% 0.0871 -0.1494)
OKLCHoklch(51.89% 0.173 300.2)
XYZxyz(19.3761, 12.4904, 48.3941)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##7A49BB1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.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

Preview Lab

Preview with #7A49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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