#882BA9#882BA9

#882BA9 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.197 H 315.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#882BA9
RGBrgb(136, 43, 169)
HSLhsl(284, 59%, 42%)
HSVhsv(284, 75%, 66%)
CMYKcmyk(19.5%, 74.6%, 0%, 33.7%)
CIE-LABlab(37.53, 57.34, -49.09)
CIE-LCHlch(37.53, 75.48, 319.43°)
OKLaboklab(48.69% 0.1407 -0.1384)
OKLCHoklch(48.69% 0.197 315.5)
XYZxyz(18.1775, 9.8273, 38.4678)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BA9 #4CA92B
analogous
#492BA9 #882BA9 #A92B8B
triadic
#882BA9 #A9882B #2BA988
tetradic
#882BA9 #A9492B #4CA92B #2B8BA9
square
#882BA9 #A9492B #4CA92B #2B8BA9
split-complementary
#882BA9 #8BA92B #2BA949
monochromatic
#391247 #611F78 #882BA9 #AA42CF #C073DB

Accessibility & contrast

On white

7.08
#882BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #882BA9
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BA9#FFFFFF#000000##FFFFFF
##882BA91.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#285BA6
Tritanopia (blue-blind)
#854668
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882ba9;
/* rgb */ color: rgb(136, 43, 169);
/* oklch */ color: oklch(48.7% 0.197 315.5);
Tailwind
colors: {
  custom: {
    50: '#af6ec3',
    500: '#882ba9',
    950: '#000000',
  },
}
SCSS
$custom: #882ba9;
$custom-light: #af6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#882ba9",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 284.286,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48693,
    "c": 0.1973,
    "h": 315.5
  },
  "luminance": 0.09827
}

Semantic roles & 50–950 ramp

primary
#882BA9
secondary
#83C36D
accent
#E3456E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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