#882FA3#882FA3

#882FA3 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.187 H 317.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#882FA3
RGBrgb(136, 47, 163)
HSLhsl(286, 55%, 41%)
HSVhsv(286, 71%, 64%)
CMYKcmyk(16.6%, 71.2%, 0%, 36.1%)
CIE-LABlab(37.68, 54.56, -45.25)
CIE-LCHlch(37.68, 70.88, 320.33°)
OKLaboklab(48.68% 0.1373 -0.1271)
OKLCHoklch(48.68% 0.187 317.2)
XYZxyz(17.7797, 9.9124, 35.6200)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FA3 #4AA32F
analogous
#4E2FA3 #882FA3 #A32F84
triadic
#882FA3 #A3882F #2FA388
tetradic
#882FA3 #A34E2F #4AA32F #2F84A3
square
#882FA3 #A34E2F #4AA32F #2F84A3
split-complementary
#882FA3 #84A32F #2FA34E
monochromatic
#391444 #602173 #882FA3 #AB46CA #C075D7

Accessibility & contrast

On white

7.04
#882FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#882FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882FA3
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FA3#FFFFFF#000000##FFFFFF
##882FA31.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#325BA0
Tritanopia (blue-blind)
#874666
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882fa3;
/* rgb */ color: rgb(136, 47, 163);
/* oklch */ color: oklch(48.7% 0.187 317.2);
Tailwind
colors: {
  custom: {
    50: '#ae70bf',
    500: '#882fa3',
    950: '#000000',
  },
}
SCSS
$custom: #882fa3;
$custom-light: #ae70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#882fa3",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 286.034,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48675,
    "c": 0.18708,
    "h": 317.2
  },
  "luminance": 0.09912
}

Semantic roles & 50–950 ramp

primary
#882FA3
secondary
#81BF6F
accent
#DF496C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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