#8B49AC#8B49AC

#8B49AC is a mid, vivid purple. Relative luminance 0.132; OKLCH L 52.9% C 0.161 H 313.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8B49AC
RGBrgb(139, 73, 172)
HSLhsl(280, 40%, 48%)
HSVhsv(280, 58%, 67%)
CMYKcmyk(19.2%, 57.6%, 0%, 32.5%)
CIE-LABlab(43.11, 44.94, -41.91)
CIE-LCHlch(43.11, 61.45, 316.99°)
OKLaboklab(52.86% 0.1095 -0.1174)
OKLCHoklch(52.86% 0.161 313)
XYZxyz(20.4751, 13.2331, 40.4974)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B49AC #6AAC49
analogous
#5949AC #8B49AC #AC499B
triadic
#8B49AC #AC8B49 #49AC8B
tetradic
#8B49AC #AC5949 #6AAC49 #499BAC
square
#8B49AC #AC5949 #6AAC49 #499BAC
split-complementary
#8B49AC #9BAC49 #49AC59
monochromatic
#462556 #683781 #8B49AC #A770C2 #C19BD5

Accessibility & contrast

On white

5.76
#8B49AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8B49AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B49AC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B49AC#FFFFFF#000000##FFFFFF
##8B49AC1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AF
Deuteranopia (green-blind)
#4467AA
Tritanopia (blue-blind)
#885A73
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b49ac;
/* rgb */ color: rgb(139, 73, 172);
/* oklch */ color: oklch(52.9% 0.161 313.0);
Tailwind
colors: {
  custom: {
    50: '#af7fc5',
    500: '#8b49ac',
    950: '#000000',
  },
}
SCSS
$custom: #8b49ac;
$custom-light: #af7fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b49ac",
  "rgb": {
    "r": 139,
    "g": 73,
    "b": 172
  },
  "hsl": {
    "h": 280,
    "s": 40.408,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52865,
    "c": 0.16053,
    "h": 313
  },
  "luminance": 0.13233
}

Semantic roles & 50–950 ramp

primary
#8B49AC
secondary
#A0C190
accent
#D05880
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8B49AC

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

Preview Lab → · Contrast checker → · Palette generator →

#8B49AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva