#882AB7#882AB7

#882AB7 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.211 H 311.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#882AB7
RGBrgb(136, 42, 183)
HSLhsl(280, 63%, 44%)
HSVhsv(280, 77%, 72%)
CMYKcmyk(25.7%, 77%, 0%, 28.2%)
CIE-LABlab(38.39, 60.58, -56.02)
CIE-LCHlch(38.39, 82.51, 317.24°)
OKLaboklab(49.61% 0.1393 -0.1587)
OKLCHoklch(49.61% 0.211 311.3)
XYZxyz(19.5269, 10.3096, 45.7519)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AB7 #59B72A
analogous
#422AB7 #882AB7 #B72AA0
triadic
#882AB7 #B7882A #2AB788
tetradic
#882AB7 #B7422A #59B72A #2AA0B7
square
#882AB7 #B7422A #59B72A #2AA0B7
split-complementary
#882AB7 #A0B72A #2AB742
monochromatic
#3E1353 #631F85 #882AB7 #A649D5 #BF7BE1

Accessibility & contrast

On white

6.86
#882AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#882AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882AB7
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AB7#FFFFFF#000000##FFFFFF
##882AB71.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#085CB4
Tritanopia (blue-blind)
#824C70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #882ab7;
/* rgb */ color: rgb(136, 42, 183);
/* oklch */ color: oklch(49.6% 0.211 311.3);
Tailwind
colors: {
  custom: {
    50: '#b06ecd',
    500: '#882ab7',
    950: '#000000',
  },
}
SCSS
$custom: #882ab7;
$custom-light: #b06ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#882ab7",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 280,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49614,
    "c": 0.21116,
    "h": 311.3
  },
  "luminance": 0.10309
}

Semantic roles & 50–950 ramp

primary
#882AB7
secondary
#90C974
accent
#E64279
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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