#882FAB#882FAB

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

Color values

HEX#882FAB
RGBrgb(136, 47, 171)
HSLhsl(283, 57%, 43%)
HSVhsv(283, 73%, 67%)
CMYKcmyk(20.5%, 72.5%, 0%, 32.9%)
CIE-LABlab(38.21, 56.19, -49.19)
CIE-LCHlch(38.21, 74.68, 318.80°)
OKLaboklab(49.22% 0.1365 -0.1387)
OKLCHoklch(49.22% 0.195 314.5)
XYZxyz(18.5193, 10.2082, 39.5150)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FAB #52AB2F
analogous
#4A2FAB #882FAB #AB2F90
triadic
#882FAB #AB882F #2FAB88
tetradic
#882FAB #AB4A2F #52AB2F #2F90AB
square
#882FAB #AB4A2F #52AB2F #2F90AB
split-complementary
#882FAB #90AB2F #2FAB4A
monochromatic
#3C154B #62227B #882FAB #A84ACD #BF7ADA

Accessibility & contrast

On white

6.90
#882FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#882FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882FAB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FAB#FFFFFF#000000##FFFFFF
##882FAB1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#295CA8
Tritanopia (blue-blind)
#85496A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #882fab;
/* rgb */ color: rgb(136, 47, 171);
/* oklch */ color: oklch(49.2% 0.195 314.5);
Tailwind
colors: {
  custom: {
    50: '#af70c5',
    500: '#882fab',
    950: '#000000',
  },
}
SCSS
$custom: #882fab;
$custom-light: #af70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#882fab",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 283.065,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49221,
    "c": 0.19456,
    "h": 314.5
  },
  "luminance": 0.10208
}

Semantic roles & 50–950 ramp

primary
#882FAB
secondary
#8AC373
accent
#E04873
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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