#882D9D#882D9D

#882D9D is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.184 H 319.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#882D9D
RGBrgb(136, 45, 157)
HSLhsl(289, 55%, 40%)
HSVhsv(289, 71%, 62%)
CMYKcmyk(13.4%, 71.3%, 0%, 38.4%)
CIE-LABlab(37.02, 54.17, -42.71)
CIE-LCHlch(37.02, 68.98, 321.75°)
OKLaboklab(48.07% 0.1398 -0.1197)
OKLCHoklch(48.07% 0.184 319.4)
XYZxyz(17.1768, 9.5462, 32.8296)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882D9D #429D2D
analogous
#502D9D #882D9D #9D2D7A
triadic
#882D9D #9D882D #2D9D88
tetradic
#882D9D #9D502D #429D2D #2D7A9D
square
#882D9D #9D502D #429D2D #2D7A9D
split-complementary
#882D9D #7A9D2D #2D9D50
monochromatic
#36123E #5F1F6D #882D9D #AE3FC8 #C26FD6

Accessibility & contrast

On white

7.22
#882D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#882D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882D9D
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882D9D#FFFFFF#000000##FFFFFF
##882D9D1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#355A9A
Tritanopia (blue-blind)
#884262
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882d9d;
/* rgb */ color: rgb(136, 45, 157);
/* oklch */ color: oklch(48.1% 0.184 319.4);
Tailwind
colors: {
  custom: {
    50: '#ae6eba',
    500: '#882d9d',
    950: '#000000',
  },
}
SCSS
$custom: #882d9d;
$custom-light: #ae6eba;
$custom-dark: #000000;
JSON
{
  "hex": "#882d9d",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 288.75,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48074,
    "c": 0.18403,
    "h": 319.4
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

primary
#882D9D
secondary
#79BD69
accent
#DF4965
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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