#882E9D#882E9D

#882E9D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.183 H 319.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#882E9D
RGBrgb(136, 46, 157)
HSLhsl(289, 55%, 40%)
HSVhsv(289, 71%, 62%)
CMYKcmyk(13.4%, 70.7%, 0%, 38.4%)
CIE-LABlab(37.16, 53.77, -42.48)
CIE-LCHlch(37.16, 68.52, 321.69°)
OKLaboklab(48.18% 0.1387 -0.119)
OKLCHoklch(48.18% 0.183 319.4)
XYZxyz(17.2154, 9.6234, 32.8424)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882E9D #439D2E
analogous
#512E9D #882E9D #9D2E7A
triadic
#882E9D #9D882E #2E9D88
tetradic
#882E9D #9D512E #439D2E #2E7A9D
square
#882E9D #9D512E #439D2E #2E7A9D
split-complementary
#882E9D #7A9D2E #2E9D51
monochromatic
#36123E #5F206E #882E9D #AE41C7 #C270D5

Accessibility & contrast

On white

7.18
#882E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #882E9D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882E9D#FFFFFF#000000##FFFFFF
##882E9D1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #882e9d;
/* rgb */ color: rgb(136, 46, 157);
/* oklch */ color: oklch(48.2% 0.183 319.4);
Tailwind
colors: {
  custom: {
    50: '#ae6fba',
    500: '#882e9d',
    950: '#000000',
  },
}
SCSS
$custom: #882e9d;
$custom-light: #ae6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#882e9d",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 288.649,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48176,
    "c": 0.18278,
    "h": 319.4
  },
  "luminance": 0.09623
}

Semantic roles & 50–950 ramp

primary
#882E9D
secondary
#7ABD6A
accent
#DE4A66
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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