#882D9A#882D9A

#882D9A is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.181 H 320.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#882D9A
RGBrgb(136, 45, 154)
HSLhsl(290, 55%, 39%)
HSVhsv(290, 71%, 60%)
CMYKcmyk(11.7%, 70.8%, 0%, 39.6%)
CIE-LABlab(36.83, 53.59, -41.19)
CIE-LCHlch(36.83, 67.59, 322.45°)
OKLaboklab(47.88% 0.14 -0.1152)
OKLCHoklch(47.88% 0.181 320.5)
XYZxyz(16.9238, 9.4450, 31.4972)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882D9A #3F9A2D
analogous
#522D9A #882D9A #9A2D76
triadic
#882D9A #9A882D #2D9A88
tetradic
#882D9A #9A522D #3F9A2D #2D769A
square
#882D9A #9A522D #3F9A2D #2D769A
split-complementary
#882D9A #769A2D #2D9A52
monochromatic
#34113B #5E1F6B #882D9A #B03EC7 #C36DD4

Accessibility & contrast

On white

7.27
#882D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#882D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882D9A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882D9A#FFFFFF#000000##FFFFFF
##882D9A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#385A97
Tritanopia (blue-blind)
#894160
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882d9a;
/* rgb */ color: rgb(136, 45, 154);
/* oklch */ color: oklch(47.9% 0.181 320.5);
Tailwind
colors: {
  custom: {
    50: '#ae6eb8',
    500: '#882d9a',
    950: '#000000',
  },
}
SCSS
$custom: #882d9a;
$custom-light: #ae6eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#882d9a",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 290.092,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47879,
    "c": 0.18131,
    "h": 320.5
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

primary
#882D9A
secondary
#75BB67
accent
#DE4A62
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #882D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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