#882E9C#882E9C

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

Color values

HEX#882E9C
RGBrgb(136, 46, 156)
HSLhsl(289, 54%, 40%)
HSVhsv(289, 71%, 61%)
CMYKcmyk(12.8%, 70.5%, 0%, 38.8%)
CIE-LABlab(37.10, 53.57, -41.97)
CIE-LCHlch(37.10, 68.06, 321.92°)
OKLaboklab(48.11% 0.1388 -0.1175)
OKLCHoklch(48.11% 0.182 319.7)
XYZxyz(17.1303, 9.5894, 32.3947)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882E9C #429C2E
analogous
#512E9C #882E9C #9C2E79
triadic
#882E9C #9C882E #2E9C88
tetradic
#882E9C #9C512E #429C2E #2E799C
square
#882E9C #9C512E #429C2E #2E799C
split-complementary
#882E9C #799C2E #2E9C51
monochromatic
#36123D #5F206D #882E9C #AE40C7 #C270D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##882E9C#FFFFFF#000000##FFFFFF
##882E9C1.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)
#00519F
Deuteranopia (green-blind)
#375A99
Tritanopia (blue-blind)
#884262
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882e9c;
/* rgb */ color: rgb(136, 46, 156);
/* oklch */ color: oklch(48.1% 0.182 319.7);
Tailwind
colors: {
  custom: {
    50: '#ae6fba',
    500: '#882e9c',
    950: '#000000',
  },
}
SCSS
$custom: #882e9c;
$custom-light: #ae6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#882e9c",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 289.091,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48111,
    "c": 0.18187,
    "h": 319.7
  },
  "luminance": 0.09589
}

Semantic roles & 50–950 ramp

primary
#882E9C
secondary
#79BC6A
accent
#DE4A65
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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