#882F9A#882F9A

#882F9A is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.179 H 320.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#882F9A
RGBrgb(136, 47, 154)
HSLhsl(290, 53%, 39%)
HSVhsv(290, 69%, 60%)
CMYKcmyk(11.7%, 69.5%, 0%, 39.6%)
CIE-LABlab(37.12, 52.77, -40.73)
CIE-LCHlch(37.12, 66.66, 322.34°)
OKLaboklab(48.09% 0.1378 -0.1139)
OKLCHoklch(48.09% 0.179 320.4)
XYZxyz(17.0019, 9.6012, 31.5233)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882F9A #419A2F
analogous
#532F9A #882F9A #9A2F76
triadic
#882F9A #9A882F #2F9A88
tetradic
#882F9A #9A532F #419A2F #2F769A
square
#882F9A #9A532F #419A2F #2F769A
split-complementary
#882F9A #769A2F #2F9A53
monochromatic
#35123C #5F216B #882F9A #AF41C5 #C370D3

Accessibility & contrast

On white

7.19
#882F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#882F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882F9A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882F9A#FFFFFF#000000##FFFFFF
##882F9A1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04519D
Deuteranopia (green-blind)
#395A97
Tritanopia (blue-blind)
#894261
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882f9a;
/* rgb */ color: rgb(136, 47, 154);
/* oklch */ color: oklch(48.1% 0.179 320.4);
Tailwind
colors: {
  custom: {
    50: '#ae6fb8',
    500: '#882f9a',
    950: '#000000',
  },
}
SCSS
$custom: #882f9a;
$custom-light: #ae6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#882f9a",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 289.907,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.17877,
    "h": 320.4
  },
  "luminance": 0.096
}

Semantic roles & 50–950 ramp

primary
#882F9A
secondary
#78BB6A
accent
#DD4B64
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #882F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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