#882CA9#882CA9

#882CA9 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.196 H 315.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#882CA9
RGBrgb(136, 44, 169)
HSLhsl(284, 59%, 42%)
HSVhsv(284, 74%, 66%)
CMYKcmyk(19.5%, 74%, 0%, 33.7%)
CIE-LABlab(37.66, 56.96, -48.88)
CIE-LCHlch(37.66, 75.05, 319.37°)
OKLaboklab(48.79% 0.1397 -0.1377)
OKLCHoklch(48.79% 0.196 315.4)
XYZxyz(18.2143, 9.9009, 38.4800)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882CA9 #4DA92C
analogous
#4A2CA9 #882CA9 #A92C8C
triadic
#882CA9 #A9882C #2CA988
tetradic
#882CA9 #A94A2C #4DA92C #2C8CA9
square
#882CA9 #A94A2C #4DA92C #2C8CA9
split-complementary
#882CA9 #8CA92C #2CA94A
monochromatic
#3A1348 #611F78 #882CA9 #AA44CE #C074DB

Accessibility & contrast

On white

7.05
#882CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#882CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882CA9
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882CA9#FFFFFF#000000##FFFFFF
##882CA91.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#285BA6
Tritanopia (blue-blind)
#854768
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882ca9;
/* rgb */ color: rgb(136, 44, 169);
/* oklch */ color: oklch(48.8% 0.196 315.4);
Tailwind
colors: {
  custom: {
    50: '#af6ec3',
    500: '#882ca9',
    950: '#000000',
  },
}
SCSS
$custom: #882ca9;
$custom-light: #af6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#882ca9",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 284.16,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48787,
    "c": 0.19618,
    "h": 315.4
  },
  "luminance": 0.099
}

Semantic roles & 50–950 ramp

primary
#882CA9
secondary
#85C36E
accent
#E2466F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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