#882FAA#882FAA

#882FAA is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.194 H 314.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#882FAA
RGBrgb(136, 47, 170)
HSLhsl(283, 57%, 43%)
HSVhsv(283, 72%, 67%)
CMYKcmyk(20%, 72.4%, 0%, 33.3%)
CIE-LABlab(38.15, 55.98, -48.70)
CIE-LCHlch(38.15, 74.20, 318.98°)
OKLaboklab(49.15% 0.1366 -0.1372)
OKLCHoklch(49.15% 0.194 314.9)
XYZxyz(18.4244, 10.1702, 39.0149)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FAA #51AA2F
analogous
#4B2FAA #882FAA #AA2F8E
triadic
#882FAA #AA882F #2FAA88
tetradic
#882FAA #AA4B2F #51AA2F #2F8EAA
square
#882FAA #AA4B2F #51AA2F #2F8EAA
split-complementary
#882FAA #8EAA2F #2FAA4B
monochromatic
#3B144A #62227A #882FAA #A849CD #BF79DA

Accessibility & contrast

On white

6.92
#882FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#882FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882FAA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FAA#FFFFFF#000000##FFFFFF
##882FAA1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#2A5CA7
Tritanopia (blue-blind)
#85496A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #882faa;
/* rgb */ color: rgb(136, 47, 170);
/* oklch */ color: oklch(49.2% 0.194 314.9);
Tailwind
colors: {
  custom: {
    50: '#af70c4',
    500: '#882faa',
    950: '#000000',
  },
}
SCSS
$custom: #882faa;
$custom-light: #af70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#882faa",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 283.415,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49151,
    "c": 0.19363,
    "h": 314.9
  },
  "luminance": 0.1017
}

Semantic roles & 50–950 ramp

primary
#882FAA
secondary
#89C272
accent
#E04872
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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