#882FA8#882FA8

#882FA8 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.192 H 315.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#882FA8
RGBrgb(136, 47, 168)
HSLhsl(284, 56%, 42%)
HSVhsv(284, 72%, 66%)
CMYKcmyk(19%, 72%, 0%, 34.1%)
CIE-LABlab(38.01, 55.57, -47.72)
CIE-LCHlch(38.01, 73.25, 319.35°)
OKLaboklab(49.01% 0.1368 -0.1344)
OKLCHoklch(49.01% 0.192 315.5)
XYZxyz(18.2366, 10.0951, 38.0261)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FA8 #4FA82F
analogous
#4B2FA8 #882FA8 #A82F8C
triadic
#882FA8 #A8882F #2FA888
tetradic
#882FA8 #A84B2F #4FA82F #2F8CA8
square
#882FA8 #A84B2F #4FA82F #2F8CA8
split-complementary
#882FA8 #8CA82F #2FA84B
monochromatic
#3B1448 #612278 #882FA8 #A948CC #C078D9

Accessibility & contrast

On white

6.96
#882FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#882FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882FA8
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FA8#FFFFFF#000000##FFFFFF
##882FA81.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #882fa8;
/* rgb */ color: rgb(136, 47, 168);
/* oklch */ color: oklch(49.0% 0.192 315.5);
Tailwind
colors: {
  custom: {
    50: '#ae70c2',
    500: '#882fa8',
    950: '#000000',
  },
}
SCSS
$custom: #882fa8;
$custom-light: #ae70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#882fa8",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 284.132,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49014,
    "c": 0.19175,
    "h": 315.5
  },
  "luminance": 0.10094
}

Semantic roles & 50–950 ramp

primary
#882FA8
secondary
#87C171
accent
#E04870
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #882FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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