#882DA7#882DA7

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

Color values

HEX#882DA7
RGBrgb(136, 45, 167)
HSLhsl(285, 58%, 42%)
HSVhsv(285, 73%, 65%)
CMYKcmyk(18.6%, 73.1%, 0%, 34.5%)
CIE-LABlab(37.67, 56.16, -47.68)
CIE-LCHlch(37.67, 73.67, 319.67°)
OKLaboklab(48.75% 0.1389 -0.1342)
OKLCHoklch(48.75% 0.193 316)
XYZxyz(18.0657, 9.9017, 37.5113)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DA7 #4CA72D
analogous
#4B2DA7 #882DA7 #A72D89
triadic
#882DA7 #A7882D #2DA788
tetradic
#882DA7 #A74B2D #4CA72D #2D89A7
square
#882DA7 #A74B2D #4CA72D #2D89A7
split-complementary
#882DA7 #89A72D #2DA74B
monochromatic
#391347 #612077 #882DA7 #AA44CD #C075DA

Accessibility & contrast

On white

7.05
#882DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #882DA7
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DA7#FFFFFF#000000##FFFFFF
##882DA71.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#2C5BA4
Tritanopia (blue-blind)
#864767
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882da7;
/* rgb */ color: rgb(136, 45, 167);
/* oklch */ color: oklch(48.7% 0.193 316.0);
Tailwind
colors: {
  custom: {
    50: '#af6fc2',
    500: '#882da7',
    950: '#000000',
  },
}
SCSS
$custom: #882da7;
$custom-light: #af6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#882da7",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 284.754,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48746,
    "c": 0.19319,
    "h": 316
  },
  "luminance": 0.09901
}

Semantic roles & 50–950 ramp

primary
#882DA7
secondary
#83C16E
accent
#E1476E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #882DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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