#882DB2#882DB2

#882DB2 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.203 H 312.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#882DB2
RGBrgb(136, 45, 178)
HSLhsl(281, 60%, 44%)
HSVhsv(281, 75%, 70%)
CMYKcmyk(23.6%, 74.7%, 0%, 30.2%)
CIE-LABlab(38.42, 58.43, -53.01)
CIE-LCHlch(38.42, 78.89, 317.78°)
OKLaboklab(49.52% 0.1375 -0.1499)
OKLCHoklch(49.52% 0.203 312.5)
XYZxyz(19.1262, 10.3259, 43.0964)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DB2 #57B22D
analogous
#462DB2 #882DB2 #B22D99
triadic
#882DB2 #B2882D #2DB288
tetradic
#882DB2 #B2462D #57B22D #2D99B2
square
#882DB2 #B2462D #57B22D #2D99B2
split-complementary
#882DB2 #99B22D #2DB246
monochromatic
#3D1450 #632181 #882DB2 #A74BD1 #BF7CDE

Accessibility & contrast

On white

6.85
#882DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#882DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882DB2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DB2#FFFFFF#000000##FFFFFF
##882DB21.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#1C5CAF
Tritanopia (blue-blind)
#834B6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #882db2;
/* rgb */ color: rgb(136, 45, 178);
/* oklch */ color: oklch(49.5% 0.203 312.5);
Tailwind
colors: {
  custom: {
    50: '#af6fca',
    500: '#882db2',
    950: '#000000',
  },
}
SCSS
$custom: #882db2;
$custom-light: #af6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#882db2",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 281.053,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49521,
    "c": 0.20338,
    "h": 312.5
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#882DB2
secondary
#8EC675
accent
#E34577
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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