#882CA5#882CA5

#882CA5 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.193 H 316.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#882CA5
RGBrgb(136, 44, 165)
HSLhsl(286, 58%, 41%)
HSVhsv(286, 73%, 65%)
CMYKcmyk(17.6%, 73.3%, 0%, 35.3%)
CIE-LABlab(37.40, 56.15, -46.91)
CIE-LCHlch(37.40, 73.17, 320.12°)
OKLaboklab(48.51% 0.1402 -0.132)
OKLCHoklch(48.51% 0.193 316.7)
XYZxyz(17.8445, 9.7530, 36.5326)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882CA5 #49A52C
analogous
#4B2CA5 #882CA5 #A52C85
triadic
#882CA5 #A5882C #2CA588
tetradic
#882CA5 #A54B2C #49A52C #2C85A5
square
#882CA5 #A54B2C #49A52C #2C85A5
split-complementary
#882CA5 #85A52C #2CA54B
monochromatic
#381244 #601F75 #882CA5 #AB42CD #C172D9

Accessibility & contrast

On white

7.12
#882CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#882CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882CA5
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882CA5#FFFFFF#000000##FFFFFF
##882CA51.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#2D5BA2
Tritanopia (blue-blind)
#864566
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882ca5;
/* rgb */ color: rgb(136, 44, 165);
/* oklch */ color: oklch(48.5% 0.193 316.7);
Tailwind
colors: {
  custom: {
    50: '#ae6ec0',
    500: '#882ca5',
    950: '#000000',
  },
}
SCSS
$custom: #882ca5;
$custom-light: #ae6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#882ca5",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 285.62,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48511,
    "c": 0.19251,
    "h": 316.7
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#882CA5
secondary
#80C16C
accent
#E1476C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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