#882E9A#882E9A

#882E9A is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.180 H 320.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#882E9A
RGBrgb(136, 46, 154)
HSLhsl(290, 54%, 39%)
HSVhsv(290, 70%, 60%)
CMYKcmyk(11.7%, 70.1%, 0%, 39.6%)
CIE-LABlab(36.97, 53.18, -40.96)
CIE-LCHlch(36.97, 67.13, 322.40°)
OKLaboklab(47.98% 0.1389 -0.1146)
OKLCHoklch(47.98% 0.18 320.5)
XYZxyz(16.9624, 9.5222, 31.5101)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882E9A #409A2E
analogous
#522E9A #882E9A #9A2E76
triadic
#882E9A #9A882E #2E9A88
tetradic
#882E9A #9A522E #409A2E #2E769A
square
#882E9A #9A522E #409A2E #2E769A
split-complementary
#882E9A #769A2E #2E9A52
monochromatic
#35123C #5E206B #882E9A #AF3FC6 #C36FD4

Accessibility & contrast

On white

7.23
#882E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#882E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882E9A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882E9A#FFFFFF#000000##FFFFFF
##882E9A1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #882e9a;
/* rgb */ color: rgb(136, 46, 154);
/* oklch */ color: oklch(48.0% 0.180 320.5);
Tailwind
colors: {
  custom: {
    50: '#ae6fb8',
    500: '#882e9a',
    950: '#000000',
  },
}
SCSS
$custom: #882e9a;
$custom-light: #ae6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#882e9a",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 290,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47982,
    "c": 0.18005,
    "h": 320.5
  },
  "luminance": 0.09521
}

Semantic roles & 50–950 ramp

primary
#882E9A
secondary
#76BB69
accent
#DD4A63
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #882E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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