#882D8E#882D8E

#882D8E is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.171 H 325.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#882D8E
RGBrgb(136, 45, 142)
HSLhsl(296, 52%, 37%)
HSVhsv(296, 68%, 56%)
CMYKcmyk(4.2%, 68.3%, 0%, 44.3%)
CIE-LABlab(36.11, 51.32, -35.02)
CIE-LCHlch(36.11, 62.13, 325.69°)
OKLaboklab(47.13% 0.1402 -0.0972)
OKLCHoklch(47.13% 0.171 325.3)
XYZxyz(15.9738, 9.0650, 26.4943)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882D8E #338E2D
analogous
#582D8E #882D8E #8E2D64
triadic
#882D8E #8E882D #2D8E88
tetradic
#882D8E #8E582D #338E2D #2D648E
square
#882D8E #8E582D #338E2D #2D648E
split-complementary
#882D8E #648E2D #2D8E58
monochromatic
#2F1031 #5B1E60 #882D8E #B53CBC #C867CF

Accessibility & contrast

On white

7.47
#882D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#882D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882D8E
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882D8E#FFFFFF#000000##FFFFFF
##882D8E1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E91
Deuteranopia (green-blind)
#40598C
Tritanopia (blue-blind)
#8B3C5A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #882d8e;
/* rgb */ color: rgb(136, 45, 142);
/* oklch */ color: oklch(47.1% 0.171 325.3);
Tailwind
colors: {
  custom: {
    50: '#ae6eaf',
    500: '#882d8e',
    950: '#000000',
  },
}
SCSS
$custom: #882d8e;
$custom-light: #ae6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#882d8e",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 296.289,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47133,
    "c": 0.1706,
    "h": 325.3
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

primary
#882D8E
secondary
#67B561
accent
#DB4C55
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #882D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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