#882BA7#882BA7

#882BA7 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.195 H 316.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#882BA7
RGBrgb(136, 43, 167)
HSLhsl(285, 59%, 41%)
HSVhsv(285, 74%, 65%)
CMYKcmyk(18.6%, 74.3%, 0%, 34.5%)
CIE-LABlab(37.39, 56.93, -48.11)
CIE-LCHlch(37.39, 74.54, 319.80°)
OKLaboklab(48.55% 0.1409 -0.1355)
OKLCHoklch(48.55% 0.195 316.1)
XYZxyz(17.9912, 9.7527, 37.4865)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BA7 #4AA72B
analogous
#4A2BA7 #882BA7 #A72B88
triadic
#882BA7 #A7882B #2BA788
tetradic
#882BA7 #A74A2B #4AA72B #2B88A7
square
#882BA7 #A74A2B #4AA72B #2B88A7
split-complementary
#882BA7 #88A72B #2BA74A
monochromatic
#391246 #601E76 #882BA7 #AB41CE #C072DB

Accessibility & contrast

On white

7.12
#882BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#882BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882BA7
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BA7#FFFFFF#000000##FFFFFF
##882BA71.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#2A5BA4
Tritanopia (blue-blind)
#864567
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882ba7;
/* rgb */ color: rgb(136, 43, 167);
/* oklch */ color: oklch(48.6% 0.195 316.1);
Tailwind
colors: {
  custom: {
    50: '#af6ec2',
    500: '#882ba7',
    950: '#000000',
  },
}
SCSS
$custom: #882ba7;
$custom-light: #af6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#882ba7",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 285,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48553,
    "c": 0.19547,
    "h": 316.1
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#882BA7
secondary
#81C26C
accent
#E2466D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #882BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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