#882AA8#882AA8

#882AA8 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.198 H 315.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#882AA8
RGBrgb(136, 42, 168)
HSLhsl(285, 60%, 41%)
HSVhsv(285, 75%, 66%)
CMYKcmyk(19%, 75%, 0%, 34.1%)
CIE-LABlab(37.33, 57.51, -48.82)
CIE-LCHlch(37.33, 75.43, 319.68°)
OKLaboklab(48.53% 0.1417 -0.1375)
OKLCHoklch(48.53% 0.198 315.9)
XYZxyz(18.0481, 9.7180, 37.9633)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AA8 #4AA82A
analogous
#492AA8 #882AA8 #A82A89
triadic
#882AA8 #A8882A #2AA888
tetradic
#882AA8 #A8492A #4AA82A #2A89A8
square
#882AA8 #A8492A #4AA82A #2A89A8
split-complementary
#882AA8 #89A82A #2AA849
monochromatic
#391246 #601E77 #882AA8 #AB40CF #C071DB

Accessibility & contrast

On white

7.13
#882AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#882AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882AA8
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AA8#FFFFFF#000000##FFFFFF
##882AA81.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#285AA5
Tritanopia (blue-blind)
#864567
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882aa8;
/* rgb */ color: rgb(136, 42, 168);
/* oklch */ color: oklch(48.5% 0.198 315.9);
Tailwind
colors: {
  custom: {
    50: '#af6ec3',
    500: '#882aa8',
    950: '#000000',
  },
}
SCSS
$custom: #882aa8;
$custom-light: #af6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#882aa8",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 284.762,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4853,
    "c": 0.1975,
    "h": 315.9
  },
  "luminance": 0.09717
}

Semantic roles & 50–950 ramp

primary
#882AA8
secondary
#81C36B
accent
#E3456D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #882AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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