#882D9C#882D9C

#882D9C is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.183 H 319.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#882D9C
RGBrgb(136, 45, 156)
HSLhsl(289, 55%, 39%)
HSVhsv(289, 71%, 61%)
CMYKcmyk(12.8%, 71.2%, 0%, 38.8%)
CIE-LABlab(36.95, 53.98, -42.20)
CIE-LCHlch(36.95, 68.52, 321.98°)
OKLaboklab(48.01% 0.1399 -0.1182)
OKLCHoklch(48.01% 0.183 319.8)
XYZxyz(17.0917, 9.5122, 32.3818)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882D9C #419C2D
analogous
#512D9C #882D9C #9C2D79
triadic
#882D9C #9C882D #2D9C88
tetradic
#882D9C #9C512D #419C2D #2D799C
square
#882D9C #9C512D #419C2D #2D799C
split-complementary
#882D9C #799C2D #2D9C51
monochromatic
#35123D #5F1F6D #882D9C #AF3FC8 #C36ED5

Accessibility & contrast

On white

7.24
#882D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#882D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882D9C
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882D9C#FFFFFF#000000##FFFFFF
##882D9C1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#365A99
Tritanopia (blue-blind)
#884261
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882d9c;
/* rgb */ color: rgb(136, 45, 156);
/* oklch */ color: oklch(48.0% 0.183 319.8);
Tailwind
colors: {
  custom: {
    50: '#ae6eba',
    500: '#882d9c',
    950: '#000000',
  },
}
SCSS
$custom: #882d9c;
$custom-light: #ae6eba;
$custom-dark: #000000;
JSON
{
  "hex": "#882d9c",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 289.189,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48009,
    "c": 0.18312,
    "h": 319.8
  },
  "luminance": 0.09511
}

Semantic roles & 50–950 ramp

primary
#882D9C
secondary
#78BC68
accent
#DF4964
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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