#882AA3#882AA3

#882AA3 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.193 H 317.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#882AA3
RGBrgb(136, 42, 163)
HSLhsl(287, 59%, 40%)
HSVhsv(287, 74%, 64%)
CMYKcmyk(16.6%, 74.2%, 0%, 36.1%)
CIE-LABlab(37.00, 56.51, -46.36)
CIE-LCHlch(37.00, 73.09, 320.64°)
OKLaboklab(48.18% 0.1423 -0.1303)
OKLCHoklch(48.18% 0.193 317.5)
XYZxyz(17.5912, 9.5353, 35.5571)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AA3 #45A32A
analogous
#4C2AA3 #882AA3 #A32A81
triadic
#882AA3 #A3882A #2AA388
tetradic
#882AA3 #A34C2A #45A32A #2A81A3
square
#882AA3 #A34C2A #45A32A #2A81A3
split-complementary
#882AA3 #81A32A #2AA34C
monochromatic
#371142 #5F1D72 #882AA3 #AD3DCD #C26EDA

Accessibility & contrast

On white

7.22
#882AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#882AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882AA3
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AA3#FFFFFF#000000##FFFFFF
##882AA31.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #882aa3;
/* rgb */ color: rgb(136, 42, 163);
/* oklch */ color: oklch(48.2% 0.193 317.5);
Tailwind
colors: {
  custom: {
    50: '#ae6dbf',
    500: '#882aa3',
    950: '#000000',
  },
}
SCSS
$custom: #882aa3;
$custom-light: #ae6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#882aa3",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 286.612,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48184,
    "c": 0.19299,
    "h": 317.5
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#882AA3
secondary
#7CC068
accent
#E24669
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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