#882FA5#882FA5

#882FA5 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.189 H 316.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#882FA5
RGBrgb(136, 47, 165)
HSLhsl(285, 56%, 42%)
HSVhsv(285, 72%, 65%)
CMYKcmyk(17.6%, 71.5%, 0%, 35.3%)
CIE-LABlab(37.81, 54.96, -46.24)
CIE-LCHlch(37.81, 71.83, 319.93°)
OKLaboklab(48.81% 0.1371 -0.13)
OKLCHoklch(48.81% 0.189 316.5)
XYZxyz(17.9604, 9.9846, 36.5712)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FA5 #4CA52F
analogous
#4D2FA5 #882FA5 #A52F87
triadic
#882FA5 #A5882F #2FA588
tetradic
#882FA5 #A54D2F #4CA52F #2F87A5
square
#882FA5 #A54D2F #4CA52F #2F87A5
split-complementary
#882FA5 #87A52F #2FA54D
monochromatic
#391446 #612175 #882FA5 #AA47CB #C076D8

Accessibility & contrast

On white

7.01
#882FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#882FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882FA5
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FA5#FFFFFF#000000##FFFFFF
##882FA51.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#305CA2
Tritanopia (blue-blind)
#864767
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882fa5;
/* rgb */ color: rgb(136, 47, 165);
/* oklch */ color: oklch(48.8% 0.189 316.5);
Tailwind
colors: {
  custom: {
    50: '#ae70c0',
    500: '#882fa5',
    950: '#000000',
  },
}
SCSS
$custom: #882fa5;
$custom-light: #ae70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#882fa5",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 285.254,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4881,
    "c": 0.18895,
    "h": 316.5
  },
  "luminance": 0.09984
}

Semantic roles & 50–950 ramp

primary
#882FA5
secondary
#83C070
accent
#DF496E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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