#882A9D#882A9D

#882A9D is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.188 H 319.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#882A9D
RGBrgb(136, 42, 157)
HSLhsl(289, 58%, 39%)
HSVhsv(289, 73%, 62%)
CMYKcmyk(13.4%, 73.2%, 0%, 38.4%)
CIE-LABlab(36.60, 55.34, -43.37)
CIE-LCHlch(36.60, 70.31, 321.92°)
OKLaboklab(47.78% 0.1429 -0.1216)
OKLCHoklch(47.78% 0.188 319.6)
XYZxyz(17.0663, 9.3253, 32.7928)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882A9D #3F9D2A
analogous
#4E2A9D #882A9D #9D2A79
triadic
#882A9D #9D882A #2A9D88
tetradic
#882A9D #9D4E2A #3F9D2A #2A799D
square
#882A9D #9D4E2A #3F9D2A #2A799D
split-complementary
#882A9D #799D2A #2A9D4E
monochromatic
#34103C #5E1D6D #882A9D #B03ACA #C36AD7

Accessibility & contrast

On white

7.33
#882A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #882A9D
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882A9D#FFFFFF#000000##FFFFFF
##882A9D1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#33599A
Tritanopia (blue-blind)
#884061
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #882a9d;
/* rgb */ color: rgb(136, 42, 157);
/* oklch */ color: oklch(47.8% 0.188 319.6);
Tailwind
colors: {
  custom: {
    50: '#ae6dba',
    500: '#882a9d',
    950: '#000000',
  },
}
SCSS
$custom: #882a9d;
$custom-light: #ae6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#882a9d",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 289.043,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4778,
    "c": 0.18762,
    "h": 319.6
  },
  "luminance": 0.09324
}

Semantic roles & 50–950 ramp

primary
#882A9D
secondary
#75BE65
accent
#E14763
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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