#882FA6#882FA6

#882FA6 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.190 H 316.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#882FA6
RGBrgb(136, 47, 166)
HSLhsl(285, 56%, 42%)
HSVhsv(285, 72%, 65%)
CMYKcmyk(18.1%, 71.7%, 0%, 34.9%)
CIE-LABlab(37.88, 55.16, -46.73)
CIE-LCHlch(37.88, 72.30, 319.73°)
OKLaboklab(48.88% 0.137 -0.1315)
OKLCHoklch(48.88% 0.19 316.2)
XYZxyz(18.0517, 10.0211, 37.0524)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FA6 #4DA62F
analogous
#4D2FA6 #882FA6 #A62F89
triadic
#882FA6 #A6882F #2FA688
tetradic
#882FA6 #A64D2F #4DA62F #2F89A6
square
#882FA6 #A64D2F #4DA62F #2F89A6
split-complementary
#882FA6 #89A62F #2FA64D
monochromatic
#3A1447 #612176 #882FA6 #AA47CB #C077D8

Accessibility & contrast

On white

6.99
#882FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #882FA6
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FA6#FFFFFF#000000##FFFFFF
##882FA61.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#2F5CA3
Tritanopia (blue-blind)
#864767
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882fa6;
/* rgb */ color: rgb(136, 47, 166);
/* oklch */ color: oklch(48.9% 0.190 316.2);
Tailwind
colors: {
  custom: {
    50: '#ae70c1',
    500: '#882fa6',
    950: '#000000',
  },
}
SCSS
$custom: #882fa6;
$custom-light: #ae70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#882fa6",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 284.874,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48877,
    "c": 0.18988,
    "h": 316.2
  },
  "luminance": 0.1002
}

Semantic roles & 50–950 ramp

primary
#882FA6
secondary
#85C170
accent
#DF496F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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