#882A9E#882A9E

#882A9E is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.189 H 319.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#882A9E
RGBrgb(136, 42, 158)
HSLhsl(289, 58%, 39%)
HSVhsv(289, 73%, 62%)
CMYKcmyk(13.9%, 73.4%, 0%, 38%)
CIE-LABlab(36.67, 55.53, -43.87)
CIE-LCHlch(36.67, 70.77, 321.69°)
OKLaboklab(47.85% 0.1428 -0.123)
OKLCHoklch(47.85% 0.189 319.3)
XYZxyz(17.1521, 9.3596, 33.2442)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882A9E #409E2A
analogous
#4E2A9E #882A9E #9E2A7A
triadic
#882A9E #9E882A #2A9E88
tetradic
#882A9E #9E4E2A #409E2A #2A7A9E
square
#882A9E #9E4E2A #409E2A #2A7A9E
split-complementary
#882A9E #7A9E2A #2A9E4E
monochromatic
#35103D #5E1D6E #882A9E #AF3ACB #C36BD8

Accessibility & contrast

On white

7.31
#882A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#882A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882A9E
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882A9E#FFFFFF#000000##FFFFFF
##882A9E1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#32599B
Tritanopia (blue-blind)
#884162
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #882a9e;
/* rgb */ color: rgb(136, 42, 158);
/* oklch */ color: oklch(47.8% 0.189 319.3);
Tailwind
colors: {
  custom: {
    50: '#ae6dbb',
    500: '#882a9e',
    950: '#000000',
  },
}
SCSS
$custom: #882a9e;
$custom-light: #ae6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#882a9e",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 288.621,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47847,
    "c": 0.18851,
    "h": 319.3
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#882A9E
secondary
#76BE66
accent
#E14764
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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