#882CAB#882CAB

#882CAB is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.198 H 314.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#882CAB
RGBrgb(136, 44, 171)
HSLhsl(283, 59%, 42%)
HSVhsv(283, 74%, 67%)
CMYKcmyk(20.5%, 74.3%, 0%, 32.9%)
CIE-LABlab(37.80, 57.36, -49.85)
CIE-LCHlch(37.80, 76.00, 319.01°)
OKLaboklab(48.93% 0.1394 -0.1406)
OKLCHoklch(48.93% 0.198 314.8)
XYZxyz(18.4035, 9.9765, 39.4764)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882CAB #4FAB2C
analogous
#492CAB #882CAB #AB2C8E
triadic
#882CAB #AB882C #2CAB88
tetradic
#882CAB #AB492C #4FAB2C #2C8EAB
square
#882CAB #AB492C #4FAB2C #2C8EAB
split-complementary
#882CAB #8EAB2C #2CAB49
monochromatic
#3B134A #611F7A #882CAB #A945CF #C076DC

Accessibility & contrast

On white

7.01
#882CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#882CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882CAB
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882CAB#FFFFFF#000000##FFFFFF
##882CAB1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#265BA8
Tritanopia (blue-blind)
#854869
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882cab;
/* rgb */ color: rgb(136, 44, 171);
/* oklch */ color: oklch(48.9% 0.198 314.8);
Tailwind
colors: {
  custom: {
    50: '#af6fc5',
    500: '#882cab',
    950: '#000000',
  },
}
SCSS
$custom: #882cab;
$custom-light: #af6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#882cab",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 283.465,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48927,
    "c": 0.19801,
    "h": 314.8
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#882CAB
secondary
#87C36F
accent
#E24671
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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