#882B8E#882B8E

#882B8E is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.9% C 0.173 H 325.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#882B8E
RGBrgb(136, 43, 142)
HSLhsl(296, 54%, 36%)
HSVhsv(296, 70%, 56%)
CMYKcmyk(4.2%, 69.7%, 0%, 44.3%)
CIE-LABlab(35.82, 52.13, -35.47)
CIE-LCHlch(35.82, 63.05, 325.76°)
OKLaboklab(46.93% 0.1424 -0.0985)
OKLCHoklch(46.93% 0.173 325.3)
XYZxyz(15.8993, 8.9160, 26.4695)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882B8E #318E2B
analogous
#572B8E #882B8E #8E2B63
triadic
#882B8E #8E882B #2B8E88
tetradic
#882B8E #8E572B #318E2B #2B638E
square
#882B8E #8E572B #318E2B #2B638E
split-complementary
#882B8E #638E2B #2B8E57
monochromatic
#2E0F30 #5B1D5F #882B8E #B539BD #C963D0

Accessibility & contrast

On white

7.55
#882B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#882B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882B8E
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882B8E#FFFFFF#000000##FFFFFF
##882B8E1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D91
Deuteranopia (green-blind)
#3F588B
Tritanopia (blue-blind)
#8B3B59
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #882b8e;
/* rgb */ color: rgb(136, 43, 142);
/* oklch */ color: oklch(46.9% 0.173 325.3);
Tailwind
colors: {
  custom: {
    50: '#ae6daf',
    500: '#882b8e',
    950: '#000000',
  },
}
SCSS
$custom: #882b8e;
$custom-light: #ae6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#882b8e",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 296.364,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46926,
    "c": 0.17319,
    "h": 325.3
  },
  "luminance": 0.08915
}

Semantic roles & 50–950 ramp

primary
#882B8E
secondary
#64B65F
accent
#DD4B54
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #882B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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