#882AA2#882AA2

#882AA2 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.192 H 317.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#882AA2
RGBrgb(136, 42, 162)
HSLhsl(287, 59%, 40%)
HSVhsv(287, 74%, 64%)
CMYKcmyk(16%, 74.1%, 0%, 36.5%)
CIE-LABlab(36.93, 56.32, -45.86)
CIE-LCHlch(36.93, 72.63, 320.84°)
OKLaboklab(48.12% 0.1424 -0.1289)
OKLCHoklch(48.12% 0.192 317.9)
XYZxyz(17.5020, 9.4996, 35.0871)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AA2 #44A22A
analogous
#4C2AA2 #882AA2 #A22A80
triadic
#882AA2 #A2882A #2AA288
tetradic
#882AA2 #A24C2A #44A22A #2A80A2
square
#882AA2 #A24C2A #44A22A #2A80A2
split-complementary
#882AA2 #80A22A #2AA24C
monochromatic
#361141 #5F1D71 #882AA2 #AD3DCD #C26DD9

Accessibility & contrast

On white

7.24
#882AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#882AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882AA2
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AA2#FFFFFF#000000##FFFFFF
##882AA21.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#2F5A9F
Tritanopia (blue-blind)
#874364
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882aa2;
/* rgb */ color: rgb(136, 42, 162);
/* oklch */ color: oklch(48.1% 0.192 317.9);
Tailwind
colors: {
  custom: {
    50: '#ae6dbe',
    500: '#882aa2',
    950: '#000000',
  },
}
SCSS
$custom: #882aa2;
$custom-light: #ae6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#882aa2",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 287,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.48116,
    "c": 0.19209,
    "h": 317.9
  },
  "luminance": 0.09499
}

Semantic roles & 50–950 ramp

primary
#882AA2
secondary
#7BC068
accent
#E24668
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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