#882FA2#882FA2

#882FA2 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.186 H 317.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#882FA2
RGBrgb(136, 47, 162)
HSLhsl(286, 55%, 41%)
HSVhsv(286, 71%, 64%)
CMYKcmyk(16%, 71%, 0%, 36.5%)
CIE-LABlab(37.62, 54.35, -44.75)
CIE-LCHlch(37.62, 70.41, 320.54°)
OKLaboklab(48.61% 0.1373 -0.1257)
OKLCHoklch(48.61% 0.186 317.5)
XYZxyz(17.6905, 9.8767, 35.1500)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FA2 #49A22F
analogous
#4E2FA2 #882FA2 #A22F82
triadic
#882FA2 #A2882F #2FA288
tetradic
#882FA2 #A24E2F #49A22F #2F82A2
square
#882FA2 #A24E2F #49A22F #2F82A2
split-complementary
#882FA2 #82A22F #2FA24E
monochromatic
#381343 #602173 #882FA2 #AB45C9 #C175D7

Accessibility & contrast

On white

7.06
#882FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #882FA2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FA2#FFFFFF#000000##FFFFFF
##882FA21.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#335B9F
Tritanopia (blue-blind)
#874665
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882fa2;
/* rgb */ color: rgb(136, 47, 162);
/* oklch */ color: oklch(48.6% 0.186 317.5);
Tailwind
colors: {
  custom: {
    50: '#ae70be',
    500: '#882fa2',
    950: '#000000',
  },
}
SCSS
$custom: #882fa2;
$custom-light: #ae70be;
$custom-dark: #000000;
JSON
{
  "hex": "#882fa2",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 286.435,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48609,
    "c": 0.18615,
    "h": 317.5
  },
  "luminance": 0.09876
}

Semantic roles & 50–950 ramp

primary
#882FA2
secondary
#80BF6E
accent
#DE496B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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