#882FA7#882FA7

#882FA7 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.191 H 315.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#882FA7
RGBrgb(136, 47, 167)
HSLhsl(285, 56%, 42%)
HSVhsv(285, 72%, 65%)
CMYKcmyk(18.6%, 71.9%, 0%, 34.5%)
CIE-LABlab(37.95, 55.37, -47.23)
CIE-LCHlch(37.95, 72.77, 319.54°)
OKLaboklab(48.95% 0.1369 -0.1329)
OKLCHoklch(48.95% 0.191 315.8)
XYZxyz(18.1438, 10.0580, 37.5374)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FA7 #4EA72F
analogous
#4C2FA7 #882FA7 #A72F8A
triadic
#882FA7 #A7882F #2FA788
tetradic
#882FA7 #A74C2F #4EA72F #2F8AA7
square
#882FA7 #A74C2F #4EA72F #2F8AA7
split-complementary
#882FA7 #8AA72F #2FA74C
monochromatic
#3A1447 #612277 #882FA7 #A948CB #C078D9

Accessibility & contrast

On white

6.97
#882FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#882FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882FA7
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FA7#FFFFFF#000000##FFFFFF
##882FA71.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#2E5CA4
Tritanopia (blue-blind)
#864868
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882fa7;
/* rgb */ color: rgb(136, 47, 167);
/* oklch */ color: oklch(48.9% 0.191 315.8);
Tailwind
colors: {
  custom: {
    50: '#ae70c2',
    500: '#882fa7',
    950: '#000000',
  },
}
SCSS
$custom: #882fa7;
$custom-light: #ae70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#882fa7",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 284.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48945,
    "c": 0.19082,
    "h": 315.8
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#882FA7
secondary
#86C171
accent
#DF486F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #882FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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