#882F8B#882F8B

#882F8B is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.165 H 326.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#882F8B
RGBrgb(136, 47, 139)
HSLhsl(298, 49%, 36%)
HSVhsv(298, 66%, 55%)
CMYKcmyk(2.2%, 66.2%, 0%, 45.5%)
CIE-LABlab(36.24, 49.93, -32.97)
CIE-LCHlch(36.24, 59.84, 326.56°)
OKLaboklab(47.17% 0.1378 -0.0913)
OKLCHoklch(47.17% 0.165 326.5)
XYZxyz(15.8298, 9.1324, 25.3500)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882F8B #328B2F
analogous
#5A2F8B #882F8B #8B2F60
triadic
#882F8B #8B882F #2F8B88
tetradic
#882F8B #8B5A2F #328B2F #2F608B
square
#882F8B #8B5A2F #328B2F #2F608B
split-complementary
#882F8B #608B2F #2F8B5A
monochromatic
#2F1030 #5B205D #882F8B #B53EB9 #C968CC

Accessibility & contrast

On white

7.43
#882F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#882F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882F8B
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882F8B#FFFFFF#000000##FFFFFF
##882F8B1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8E
Deuteranopia (green-blind)
#435989
Tritanopia (blue-blind)
#8C3C59
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #882f8b;
/* rgb */ color: rgb(136, 47, 139);
/* oklch */ color: oklch(47.2% 0.165 326.5);
Tailwind
colors: {
  custom: {
    50: '#ae6fad',
    500: '#882f8b',
    950: '#000000',
  },
}
SCSS
$custom: #882f8b;
$custom-light: #ae6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#882f8b",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 298.043,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47171,
    "c": 0.16527,
    "h": 326.5
  },
  "luminance": 0.09131
}

Semantic roles & 50–950 ramp

primary
#882F8B
secondary
#65B363
accent
#D94F53
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #882F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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