#882BAC#882BAC

#882BAC is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.200 H 314.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#882BAC
RGBrgb(136, 43, 172)
HSLhsl(283, 60%, 42%)
HSVhsv(283, 75%, 67%)
CMYKcmyk(20.9%, 75%, 0%, 32.5%)
CIE-LABlab(37.74, 57.95, -50.55)
CIE-LCHlch(37.74, 76.90, 318.90°)
OKLaboklab(48.9% 0.1402 -0.1426)
OKLCHoklch(48.9% 0.2 314.5)
XYZxyz(18.4624, 9.9412, 39.9680)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BAC #4FAC2B
analogous
#482BAC #882BAC #AC2B90
triadic
#882BAC #AC882B #2BAC88
tetradic
#882BAC #AC482B #4FAC2B #2B90AC
square
#882BAC #AC482B #4FAC2B #2B90AC
split-complementary
#882BAC #90AC2B #2BAC48
monochromatic
#3B134A #611F7B #882BAC #A944D0 #C075DC

Accessibility & contrast

On white

7.03
#882BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#882BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882BAC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BAC#FFFFFF#000000##FFFFFF
##882BAC1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#235BA9
Tritanopia (blue-blind)
#85486A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882bac;
/* rgb */ color: rgb(136, 43, 172);
/* oklch */ color: oklch(48.9% 0.200 314.5);
Tailwind
colors: {
  custom: {
    50: '#af6ec5',
    500: '#882bac',
    950: '#000000',
  },
}
SCSS
$custom: #882bac;
$custom-light: #af6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#882bac",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 283.256,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48904,
    "c": 0.20004,
    "h": 314.5
  },
  "luminance": 0.09941
}

Semantic roles & 50–950 ramp

primary
#882BAC
secondary
#87C46F
accent
#E34571
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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