#882DB1#882DB1

#882DB1 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.4% C 0.202 H 312.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#882DB1
RGBrgb(136, 45, 177)
HSLhsl(281, 59%, 44%)
HSVhsv(281, 75%, 69%)
CMYKcmyk(23.2%, 74.6%, 0%, 30.6%)
CIE-LABlab(38.35, 58.22, -52.54)
CIE-LCHlch(38.35, 78.42, 317.94°)
OKLaboklab(49.45% 0.1376 -0.1485)
OKLCHoklch(49.45% 0.202 312.8)
XYZxyz(19.0261, 10.2859, 42.5696)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DB1 #56B12D
analogous
#462DB1 #882DB1 #B12D98
triadic
#882DB1 #B1882D #2DB188
tetradic
#882DB1 #B1462D #56B12D #2D98B1
square
#882DB1 #B1462D #56B12D #2D98B1
split-complementary
#882DB1 #98B12D #2DB146
monochromatic
#3D144F #632180 #882DB1 #A74AD1 #BF7BDD

Accessibility & contrast

On white

6.87
#882DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#882DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882DB1
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DB1#FFFFFF#000000##FFFFFF
##882DB11.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#1E5CAE
Tritanopia (blue-blind)
#834B6D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #882db1;
/* rgb */ color: rgb(136, 45, 177);
/* oklch */ color: oklch(49.4% 0.202 312.8);
Tailwind
colors: {
  custom: {
    50: '#af6fc9',
    500: '#882db1',
    950: '#000000',
  },
}
SCSS
$custom: #882db1;
$custom-light: #af6fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#882db1",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 281.364,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49449,
    "c": 0.20246,
    "h": 312.8
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#882DB1
secondary
#8DC674
accent
#E34576
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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