#882EAC#882EAC

#882EAC is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.197 H 314.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#882EAC
RGBrgb(136, 46, 172)
HSLhsl(283, 58%, 43%)
HSVhsv(283, 73%, 67%)
CMYKcmyk(20.9%, 73.3%, 0%, 32.5%)
CIE-LABlab(38.14, 56.79, -49.90)
CIE-LCHlch(38.14, 75.60, 318.70°)
OKLaboklab(49.19% 0.1374 -0.1407)
OKLCHoklch(49.19% 0.197 314.3)
XYZxyz(18.5755, 10.1674, 40.0057)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EAC #52AC2E
analogous
#492EAC #882EAC #AC2E91
triadic
#882EAC #AC882E #2EAC88
tetradic
#882EAC #AC492E #52AC2E #2E91AC
square
#882EAC #AC492E #52AC2E #2E91AC
split-complementary
#882EAC #91AC2E #2EAC49
monochromatic
#3C144B #62217C #882EAC #A849CE #BF79DB

Accessibility & contrast

On white

6.92
#882EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#882EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EAC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EAC#FFFFFF#000000##FFFFFF
##882EAC1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#275CA9
Tritanopia (blue-blind)
#85496A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #882eac;
/* rgb */ color: rgb(136, 46, 172);
/* oklch */ color: oklch(49.2% 0.197 314.3);
Tailwind
colors: {
  custom: {
    50: '#af70c5',
    500: '#882eac',
    950: '#000000',
  },
}
SCSS
$custom: #882eac;
$custom-light: #af70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#882eac",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 282.857,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49191,
    "c": 0.19666,
    "h": 314.3
  },
  "luminance": 0.10167
}

Semantic roles & 50–950 ramp

primary
#882EAC
secondary
#8AC372
accent
#E14773
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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