#882DA2#882DA2

#882DA2 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.189 H 317.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#882DA2
RGBrgb(136, 45, 162)
HSLhsl(287, 57%, 41%)
HSVhsv(287, 72%, 64%)
CMYKcmyk(16%, 72.2%, 0%, 36.5%)
CIE-LABlab(37.34, 55.16, -45.21)
CIE-LCHlch(37.34, 71.32, 320.66°)
OKLaboklab(48.41% 0.1394 -0.127)
OKLCHoklch(48.41% 0.189 317.7)
XYZxyz(17.6124, 9.7204, 35.1239)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DA2 #47A22D
analogous
#4E2DA2 #882DA2 #A22D81
triadic
#882DA2 #A2882D #2DA288
tetradic
#882DA2 #A24E2D #47A22D #2D81A2
square
#882DA2 #A24E2D #47A22D #2D81A2
split-complementary
#882DA2 #81A22D #2DA24E
monochromatic
#381242 #602072 #882DA2 #AC42CA #C172D8

Accessibility & contrast

On white

7.13
#882DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#882DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882DA2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DA2#FFFFFF#000000##FFFFFF
##882DA21.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#315B9F
Tritanopia (blue-blind)
#874465
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882da2;
/* rgb */ color: rgb(136, 45, 162);
/* oklch */ color: oklch(48.4% 0.189 317.7);
Tailwind
colors: {
  custom: {
    50: '#ae6fbe',
    500: '#882da2',
    950: '#000000',
  },
}
SCSS
$custom: #882da2;
$custom-light: #ae6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#882da2",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 286.667,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48406,
    "c": 0.18859,
    "h": 317.7
  },
  "luminance": 0.0972
}

Semantic roles & 50–950 ramp

primary
#882DA2
secondary
#7EBF6C
accent
#E0486A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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