#882D9E#882D9E

#882D9E is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.185 H 319.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#882D9E
RGBrgb(136, 45, 158)
HSLhsl(288, 56%, 40%)
HSVhsv(288, 72%, 62%)
CMYKcmyk(13.9%, 71.5%, 0%, 38%)
CIE-LABlab(37.08, 54.37, -43.21)
CIE-LCHlch(37.08, 69.45, 321.52°)
OKLaboklab(48.14% 0.1397 -0.1211)
OKLCHoklch(48.14% 0.185 319.1)
XYZxyz(17.2625, 9.5804, 33.2810)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882D9E #439E2D
analogous
#502D9E #882D9E #9E2D7B
triadic
#882D9E #9E882D #2D9E88
tetradic
#882D9E #9E502D #439E2D #2D7B9E
square
#882D9E #9E502D #439E2D #2D7B9E
split-complementary
#882D9E #7B9E2D #2D9E50
monochromatic
#36123F #5F1F6E #882D9E #AE40C9 #C26FD6

Accessibility & contrast

On white

7.20
#882D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#882D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882D9E
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882D9E#FFFFFF#000000##FFFFFF
##882D9E1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#355A9B
Tritanopia (blue-blind)
#884362
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882d9e;
/* rgb */ color: rgb(136, 45, 158);
/* oklch */ color: oklch(48.1% 0.185 319.1);
Tailwind
colors: {
  custom: {
    50: '#ae6ebb',
    500: '#882d9e',
    950: '#000000',
  },
}
SCSS
$custom: #882d9e;
$custom-light: #ae6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#882d9e",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 288.319,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4814,
    "c": 0.18493,
    "h": 319.1
  },
  "luminance": 0.0958
}

Semantic roles & 50–950 ramp

primary
#882D9E
secondary
#7ABD69
accent
#DF4966
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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