#882FA4#882FA4

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

Color values

HEX#882FA4
RGBrgb(136, 47, 164)
HSLhsl(286, 55%, 41%)
HSVhsv(286, 71%, 64%)
CMYKcmyk(17.1%, 71.3%, 0%, 35.7%)
CIE-LABlab(37.75, 54.76, -45.74)
CIE-LCHlch(37.75, 71.35, 320.13°)
OKLaboklab(48.74% 0.1372 -0.1286)
OKLCHoklch(48.74% 0.188 316.9)
XYZxyz(17.8697, 9.9483, 36.0937)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FA4 #4BA42F
analogous
#4E2FA4 #882FA4 #A42F86
triadic
#882FA4 #A4882F #2FA488
tetradic
#882FA4 #A44E2F #4BA42F #2F86A4
square
#882FA4 #A44E2F #4BA42F #2F86A4
split-complementary
#882FA4 #86A42F #2FA44E
monochromatic
#391445 #612174 #882FA4 #AA46CA #C076D8

Accessibility & contrast

On white

7.02
#882FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#882FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882FA4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FA4#FFFFFF#000000##FFFFFF
##882FA41.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#315BA1
Tritanopia (blue-blind)
#874666
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882fa4;
/* rgb */ color: rgb(136, 47, 164);
/* oklch */ color: oklch(48.7% 0.188 316.9);
Tailwind
colors: {
  custom: {
    50: '#ae70c0',
    500: '#882fa4',
    950: '#000000',
  },
}
SCSS
$custom: #882fa4;
$custom-light: #ae70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#882fa4",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 285.641,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48742,
    "c": 0.18801,
    "h": 316.9
  },
  "luminance": 0.09948
}

Semantic roles & 50–950 ramp

primary
#882FA4
secondary
#82C06F
accent
#DF496D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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