#882FA9#882FA9

#882FA9 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.193 H 315.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#882FA9
RGBrgb(136, 47, 169)
HSLhsl(284, 56%, 42%)
HSVhsv(284, 72%, 66%)
CMYKcmyk(19.5%, 72.2%, 0%, 33.7%)
CIE-LABlab(38.08, 55.78, -48.21)
CIE-LCHlch(38.08, 73.72, 319.16°)
OKLaboklab(49.08% 0.1367 -0.1358)
OKLCHoklch(49.08% 0.193 315.2)
XYZxyz(18.3301, 10.1325, 38.5186)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FA9 #50A92F
analogous
#4B2FA9 #882FA9 #A92F8D
triadic
#882FA9 #A9882F #2FA988
tetradic
#882FA9 #A94B2F #50A92F #2F8DA9
square
#882FA9 #A94B2F #50A92F #2F8DA9
split-complementary
#882FA9 #8DA92F #2FA94B
monochromatic
#3B1449 #612279 #882FA9 #A949CC #BF79DA

Accessibility & contrast

On white

6.94
#882FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #882FA9
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FA9#FFFFFF#000000##FFFFFF
##882FA91.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#2B5CA6
Tritanopia (blue-blind)
#854969
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #882fa9;
/* rgb */ color: rgb(136, 47, 169);
/* oklch */ color: oklch(49.1% 0.193 315.2);
Tailwind
colors: {
  custom: {
    50: '#af70c3',
    500: '#882fa9',
    950: '#000000',
  },
}
SCSS
$custom: #882fa9;
$custom-light: #af70c3;
$custom-dark: #000000;
JSON
{
  "hex": "#882fa9",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 283.77,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49082,
    "c": 0.19269,
    "h": 315.2
  },
  "luminance": 0.10132
}

Semantic roles & 50–950 ramp

primary
#882FA9
secondary
#88C272
accent
#E04871
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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