#882E9B#882E9B

#882E9B is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.0% C 0.181 H 320.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#882E9B
RGBrgb(136, 46, 155)
HSLhsl(290, 54%, 39%)
HSVhsv(290, 70%, 61%)
CMYKcmyk(12.3%, 70.3%, 0%, 39.2%)
CIE-LABlab(37.03, 53.38, -41.47)
CIE-LCHlch(37.03, 67.59, 322.16°)
OKLaboklab(48.05% 0.1389 -0.116)
OKLCHoklch(48.05% 0.181 320.1)
XYZxyz(17.0460, 9.5556, 31.9505)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882E9B #419B2E
analogous
#512E9B #882E9B #9B2E78
triadic
#882E9B #9B882E #2E9B88
tetradic
#882E9B #9B512E #419B2E #2E789B
square
#882E9B #9B512E #419B2E #2E789B
split-complementary
#882E9B #789B2E #2E9B51
monochromatic
#35123D #5F206C #882E9B #AF40C6 #C36FD4

Accessibility & contrast

On white

7.21
#882E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#882E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882E9B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882E9B#FFFFFF#000000##FFFFFF
##882E9B1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#385A98
Tritanopia (blue-blind)
#894261
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882e9b;
/* rgb */ color: rgb(136, 46, 155);
/* oklch */ color: oklch(48.0% 0.181 320.1);
Tailwind
colors: {
  custom: {
    50: '#ae6fb9',
    500: '#882e9b',
    950: '#000000',
  },
}
SCSS
$custom: #882e9b;
$custom-light: #ae6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#882e9b",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 289.541,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48047,
    "c": 0.18096,
    "h": 320.1
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

primary
#882E9B
secondary
#78BC69
accent
#DE4A64
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #882E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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