#882AB5#882AB5

#882AB5 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.209 H 311.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#882AB5
RGBrgb(136, 42, 181)
HSLhsl(281, 62%, 44%)
HSVhsv(281, 77%, 71%)
CMYKcmyk(24.9%, 76.8%, 0%, 29%)
CIE-LABlab(38.25, 60.17, -55.07)
CIE-LCHlch(38.25, 81.57, 317.53°)
OKLaboklab(49.47% 0.1397 -0.1559)
OKLCHoklch(49.47% 0.209 311.9)
XYZxyz(19.3202, 10.2269, 44.6633)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AB5 #57B52A
analogous
#432AB5 #882AB5 #B52A9C
triadic
#882AB5 #B5882A #2AB588
tetradic
#882AB5 #B5432A #57B52A #2A9CB5
square
#882AB5 #B5432A #57B52A #2A9CB5
split-complementary
#882AB5 #9CB52A #2AB543
monochromatic
#3D1352 #631E83 #882AB5 #A748D4 #BF79E0

Accessibility & contrast

On white

6.90
#882AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#882AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882AB5
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AB5#FFFFFF#000000##FFFFFF
##882AB51.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#105CB2
Tritanopia (blue-blind)
#824B6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #882ab5;
/* rgb */ color: rgb(136, 42, 181);
/* oklch */ color: oklch(49.5% 0.209 311.9);
Tailwind
colors: {
  custom: {
    50: '#af6ecc',
    500: '#882ab5',
    950: '#000000',
  },
}
SCSS
$custom: #882ab5;
$custom-light: #af6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#882ab5",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 280.576,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49466,
    "c": 0.20932,
    "h": 311.9
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#882AB5
secondary
#8EC873
accent
#E54277
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #882AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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