#882AAB#882AAB

#882AAB is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.7% C 0.200 H 314.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#882AAB
RGBrgb(136, 42, 171)
HSLhsl(284, 61%, 42%)
HSVhsv(284, 75%, 67%)
CMYKcmyk(20.5%, 75.4%, 0%, 32.9%)
CIE-LABlab(37.54, 58.11, -50.28)
CIE-LCHlch(37.54, 76.84, 319.14°)
OKLaboklab(48.74% 0.1413 -0.1418)
OKLCHoklch(48.74% 0.2 314.9)
XYZxyz(18.3308, 9.8311, 39.4522)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AAB #4DAB2A
analogous
#482AAB #882AAB #AB2A8E
triadic
#882AAB #AB882A #2AAB88
tetradic
#882AAB #AB482A #4DAB2A #2A8EAB
square
#882AAB #AB482A #4DAB2A #2A8EAB
split-complementary
#882AAB #8EAB2A #2AAB48
monochromatic
#3A1249 #611E7A #882AAB #AA42D1 #C073DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##882AAB#FFFFFF#000000##FFFFFF
##882AAB1.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)
#0053AF
Deuteranopia (green-blind)
#245BA8
Tritanopia (blue-blind)
#854769
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882aab;
/* rgb */ color: rgb(136, 42, 171);
/* oklch */ color: oklch(48.7% 0.200 314.9);
Tailwind
colors: {
  custom: {
    50: '#af6ec5',
    500: '#882aab',
    950: '#000000',
  },
}
SCSS
$custom: #882aab;
$custom-light: #af6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#882aab",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 283.721,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48741,
    "c": 0.20022,
    "h": 314.9
  },
  "luminance": 0.0983
}

Semantic roles & 50–950 ramp

primary
#882AAB
secondary
#85C46D
accent
#E4446F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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