#882BAA#882BAA

#882BAA is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.198 H 315.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#882BAA
RGBrgb(136, 43, 170)
HSLhsl(284, 60%, 42%)
HSVhsv(284, 75%, 67%)
CMYKcmyk(20%, 74.7%, 0%, 33.3%)
CIE-LABlab(37.60, 57.54, -49.58)
CIE-LCHlch(37.60, 75.95, 319.25°)
OKLaboklab(48.76% 0.1405 -0.1398)
OKLCHoklch(48.76% 0.198 315.1)
XYZxyz(18.2717, 9.8649, 38.9641)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BAA #4DAA2B
analogous
#492BAA #882BAA #AA2B8D
triadic
#882BAA #AA882B #2BAA88
tetradic
#882BAA #AA492B #4DAA2B #2B8DAA
square
#882BAA #AA492B #4DAA2B #2B8DAA
split-complementary
#882BAA #8DAA2B #2BAA49
monochromatic
#3A1248 #611F79 #882BAA #AA43CF #C074DC

Accessibility & contrast

On white

7.06
#882BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#882BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882BAA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BAA#FFFFFF#000000##FFFFFF
##882BAA1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#265BA7
Tritanopia (blue-blind)
#854769
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882baa;
/* rgb */ color: rgb(136, 43, 170);
/* oklch */ color: oklch(48.8% 0.198 315.1);
Tailwind
colors: {
  custom: {
    50: '#af6ec4',
    500: '#882baa',
    950: '#000000',
  },
}
SCSS
$custom: #882baa;
$custom-light: #af6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#882baa",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 283.937,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48763,
    "c": 0.19822,
    "h": 315.1
  },
  "luminance": 0.09864
}

Semantic roles & 50–950 ramp

primary
#882BAA
secondary
#85C36E
accent
#E3456F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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