#882AA1#882AA1

#882AA1 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.191 H 318.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#882AA1
RGBrgb(136, 42, 161)
HSLhsl(287, 59%, 40%)
HSVhsv(287, 74%, 63%)
CMYKcmyk(15.5%, 73.9%, 0%, 36.9%)
CIE-LABlab(36.86, 56.12, -45.36)
CIE-LCHlch(36.86, 72.16, 321.05°)
OKLaboklab(48.05% 0.1425 -0.1274)
OKLCHoklch(48.05% 0.191 318.2)
XYZxyz(17.4134, 9.4642, 34.6208)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AA1 #43A12A
analogous
#4D2AA1 #882AA1 #A12A7F
triadic
#882AA1 #A1882A #2AA188
tetradic
#882AA1 #A14D2A #43A12A #2A7FA1
square
#882AA1 #A14D2A #43A12A #2A7FA1
split-complementary
#882AA1 #7FA12A #2AA14D
monochromatic
#361140 #5F1D70 #882AA1 #AE3CCC #C26DD9

Accessibility & contrast

On white

7.26
#882AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#882AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882AA1
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AA1#FFFFFF#000000##FFFFFF
##882AA11.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#305A9E
Tritanopia (blue-blind)
#874263
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882aa1;
/* rgb */ color: rgb(136, 42, 161);
/* oklch */ color: oklch(48.0% 0.191 318.2);
Tailwind
colors: {
  custom: {
    50: '#ae6dbd',
    500: '#882aa1',
    950: '#000000',
  },
}
SCSS
$custom: #882aa1;
$custom-light: #ae6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#882aa1",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 287.395,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48048,
    "c": 0.19119,
    "h": 318.2
  },
  "luminance": 0.09463
}

Semantic roles & 50–950 ramp

primary
#882AA1
secondary
#7AC067
accent
#E24667
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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