#882AB6#882AB6

#882AB6 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.210 H 311.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#882AB6
RGBrgb(136, 42, 182)
HSLhsl(280, 63%, 44%)
HSVhsv(280, 77%, 71%)
CMYKcmyk(25.3%, 76.9%, 0%, 28.6%)
CIE-LABlab(38.32, 60.37, -55.55)
CIE-LCHlch(38.32, 82.04, 317.38°)
OKLaboklab(49.54% 0.1395 -0.1573)
OKLCHoklch(49.54% 0.21 311.6)
XYZxyz(19.4232, 10.2681, 45.2057)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AB6 #58B62A
analogous
#422AB6 #882AB6 #B62A9E
triadic
#882AB6 #B6882A #2AB688
tetradic
#882AB6 #B6422A #58B62A #2A9EB6
square
#882AB6 #B6422A #58B62A #2A9EB6
split-complementary
#882AB6 #9EB62A #2AB642
monochromatic
#3E1353 #631F84 #882AB6 #A748D5 #BF7AE0

Accessibility & contrast

On white

6.88
#882AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #882AB6
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AB6#FFFFFF#000000##FFFFFF
##882AB61.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#0C5CB3
Tritanopia (blue-blind)
#824B6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #882ab6;
/* rgb */ color: rgb(136, 42, 182);
/* oklch */ color: oklch(49.5% 0.210 311.6);
Tailwind
colors: {
  custom: {
    50: '#af6ecd',
    500: '#882ab6',
    950: '#000000',
  },
}
SCSS
$custom: #882ab6;
$custom-light: #af6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#882ab6",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 280.286,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4954,
    "c": 0.21025,
    "h": 311.6
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#882AB6
secondary
#8FC873
accent
#E64278
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #882AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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