#882A9C#882A9C

#882A9C is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.187 H 320.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#882A9C
RGBrgb(136, 42, 156)
HSLhsl(289, 58%, 39%)
HSVhsv(289, 73%, 61%)
CMYKcmyk(12.8%, 73.1%, 0%, 38.8%)
CIE-LABlab(36.54, 55.15, -42.86)
CIE-LCHlch(36.54, 69.85, 322.14°)
OKLaboklab(47.71% 0.143 -0.1201)
OKLCHoklch(47.71% 0.187 320)
XYZxyz(16.9813, 9.2913, 32.3450)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882A9C #3E9C2A
analogous
#4F2A9C #882A9C #9C2A77
triadic
#882A9C #9C882A #2A9C88
tetradic
#882A9C #9C4F2A #3E9C2A #2A779C
square
#882A9C #9C4F2A #3E9C2A #2A779C
split-complementary
#882A9C #779C2A #2A9C4F
monochromatic
#34103C #5E1D6C #882A9C #B039CA #C46AD7

Accessibility & contrast

On white

7.35
#882A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#882A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882A9C
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882A9C#FFFFFF#000000##FFFFFF
##882A9C1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#345999
Tritanopia (blue-blind)
#884060
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #882a9c;
/* rgb */ color: rgb(136, 42, 156);
/* oklch */ color: oklch(47.7% 0.187 320.0);
Tailwind
colors: {
  custom: {
    50: '#ae6dba',
    500: '#882a9c',
    950: '#000000',
  },
}
SCSS
$custom: #882a9c;
$custom-light: #ae6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#882a9c",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 289.474,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47714,
    "c": 0.18673,
    "h": 320
  },
  "luminance": 0.0929
}

Semantic roles & 50–950 ramp

primary
#882A9C
secondary
#74BD65
accent
#E14762
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882A9C

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

Preview Lab → · Contrast checker → · Palette generator →

#882A9C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva