#882AB2#882AB2

#882AB2 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.207 H 312.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#882AB2
RGBrgb(136, 42, 178)
HSLhsl(281, 62%, 43%)
HSVhsv(281, 76%, 70%)
CMYKcmyk(23.6%, 76.4%, 0%, 30.2%)
CIE-LABlab(38.03, 59.54, -53.65)
CIE-LCHlch(38.03, 80.15, 317.98°)
OKLaboklab(49.25% 0.1402 -0.1517)
OKLCHoklch(49.25% 0.207 312.7)
XYZxyz(19.0157, 10.1051, 43.0596)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AB2 #54B22A
analogous
#442AB2 #882AB2 #B22A98
triadic
#882AB2 #B2882A #2AB288
tetradic
#882AB2 #B2442A #54B22A #2A98B2
square
#882AB2 #B2442A #54B22A #2A98B2
split-complementary
#882AB2 #98B22A #2AB244
monochromatic
#3C134F #621E80 #882AB2 #A846D3 #BF77DF

Accessibility & contrast

On white

6.95
#882AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#882AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882AB2
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AB2#FFFFFF#000000##FFFFFF
##882AB21.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#185BAF
Tritanopia (blue-blind)
#834A6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882ab2;
/* rgb */ color: rgb(136, 42, 178);
/* oklch */ color: oklch(49.2% 0.207 312.7);
Tailwind
colors: {
  custom: {
    50: '#af6eca',
    500: '#882ab2',
    950: '#000000',
  },
}
SCSS
$custom: #882ab2;
$custom-light: #af6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#882ab2",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 281.471,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49245,
    "c": 0.20659,
    "h": 312.7
  },
  "luminance": 0.10105
}

Semantic roles & 50–950 ramp

primary
#882AB2
secondary
#8CC771
accent
#E54375
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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