#882DA5#882DA5

#882DA5 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.191 H 316.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#882DA5
RGBrgb(136, 45, 165)
HSLhsl(286, 57%, 41%)
HSVhsv(286, 73%, 65%)
CMYKcmyk(17.6%, 72.7%, 0%, 35.3%)
CIE-LABlab(37.53, 55.76, -46.69)
CIE-LCHlch(37.53, 72.73, 320.06°)
OKLaboklab(48.61% 0.1392 -0.1313)
OKLCHoklch(48.61% 0.191 316.7)
XYZxyz(17.8822, 9.8284, 36.5451)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DA5 #4AA52D
analogous
#4C2DA5 #882DA5 #A52D86
triadic
#882DA5 #A5882D #2DA588
tetradic
#882DA5 #A54C2D #4AA52D #2D86A5
square
#882DA5 #A54C2D #4AA52D #2D86A5
split-complementary
#882DA5 #86A52D #2DA54C
monochromatic
#391345 #602075 #882DA5 #AB43CC #C073D9

Accessibility & contrast

On white

7.08
#882DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#882DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882DA5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DA5#FFFFFF#000000##FFFFFF
##882DA51.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#2E5BA2
Tritanopia (blue-blind)
#864666
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882da5;
/* rgb */ color: rgb(136, 45, 165);
/* oklch */ color: oklch(48.6% 0.191 316.7);
Tailwind
colors: {
  custom: {
    50: '#ae6fc0',
    500: '#882da5',
    950: '#000000',
  },
}
SCSS
$custom: #882da5;
$custom-light: #ae6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#882da5",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 285.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48609,
    "c": 0.19135,
    "h": 316.7
  },
  "luminance": 0.09828
}

Semantic roles & 50–950 ramp

primary
#882DA5
secondary
#81C16D
accent
#E0476C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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