#882CA2#882CA2

#882CA2 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.190 H 317.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#882CA2
RGBrgb(136, 44, 162)
HSLhsl(287, 57%, 40%)
HSVhsv(287, 73%, 64%)
CMYKcmyk(16%, 72.8%, 0%, 36.5%)
CIE-LABlab(37.20, 55.55, -45.43)
CIE-LCHlch(37.20, 71.76, 320.72°)
OKLaboklab(48.31% 0.1405 -0.1276)
OKLCHoklch(48.31% 0.19 317.7)
XYZxyz(17.5747, 9.6450, 35.1113)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882CA2 #46A22C
analogous
#4D2CA2 #882CA2 #A22C81
triadic
#882CA2 #A2882C #2CA288
tetradic
#882CA2 #A24D2C #46A22C #2C81A2
square
#882CA2 #A24D2C #46A22C #2C81A2
split-complementary
#882CA2 #81A22C #2CA24D
monochromatic
#371242 #601F72 #882CA2 #AC40CB #C170D8

Accessibility & contrast

On white

7.17
#882CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#882CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882CA2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882CA2#FFFFFF#000000##FFFFFF
##882CA21.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#305A9F
Tritanopia (blue-blind)
#874464
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882ca2;
/* rgb */ color: rgb(136, 44, 162);
/* oklch */ color: oklch(48.3% 0.190 317.7);
Tailwind
colors: {
  custom: {
    50: '#ae6ebe',
    500: '#882ca2',
    950: '#000000',
  },
}
SCSS
$custom: #882ca2;
$custom-light: #ae6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#882ca2",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 286.78,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48307,
    "c": 0.18978,
    "h": 317.7
  },
  "luminance": 0.09644
}

Semantic roles & 50–950 ramp

primary
#882CA2
secondary
#7DBF6A
accent
#E14769
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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