#882D8F#882D8F

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

Color values

HEX#882D8F
RGBrgb(136, 45, 143)
HSLhsl(296, 52%, 37%)
HSVhsv(296, 69%, 56%)
CMYKcmyk(4.9%, 68.5%, 0%, 43.9%)
CIE-LABlab(36.17, 51.50, -35.54)
CIE-LCHlch(36.17, 62.57, 325.39°)
OKLaboklab(47.19% 0.1402 -0.0987)
OKLCHoklch(47.19% 0.171 324.8)
XYZxyz(16.0493, 9.0952, 26.8915)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882D8F #348F2D
analogous
#572D8F #882D8F #8F2D65
triadic
#882D8F #8F882D #2D8F88
tetradic
#882D8F #8F572D #348F2D #2D658F
square
#882D8F #8F572D #348F2D #2D658F
split-complementary
#882D8F #658F2D #2D8F57
monochromatic
#2F1032 #5C1E60 #882D8F #B43CBE #C867CF

Accessibility & contrast

On white

7.45
#882D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#882D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882D8F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882D8F#FFFFFF#000000##FFFFFF
##882D8F1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E92
Deuteranopia (green-blind)
#3F598D
Tritanopia (blue-blind)
#8B3C5A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #882d8f;
/* rgb */ color: rgb(136, 45, 143);
/* oklch */ color: oklch(47.2% 0.171 324.8);
Tailwind
colors: {
  custom: {
    50: '#ae6eb0',
    500: '#882d8f',
    950: '#000000',
  },
}
SCSS
$custom: #882d8f;
$custom-light: #ae6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#882d8f",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 295.714,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47193,
    "c": 0.17148,
    "h": 324.8
  },
  "luminance": 0.09094
}

Semantic roles & 50–950 ramp

primary
#882D8F
secondary
#68B662
accent
#DC4C56
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #882D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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