#882A8A#882A8A

#882A8A is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.6% C 0.171 H 327.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#882A8A
RGBrgb(136, 42, 138)
HSLhsl(299, 53%, 35%)
HSVhsv(299, 70%, 54%)
CMYKcmyk(1.4%, 69.6%, 0%, 45.9%)
CIE-LABlab(35.45, 51.80, -33.60)
CIE-LCHlch(35.45, 61.74, 327.03°)
OKLaboklab(46.59% 0.1435 -0.0931)
OKLCHoklch(46.59% 0.171 327)
XYZxyz(15.5685, 8.7262, 24.9042)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882A8A #2C8A2A
analogous
#582A8A #882A8A #8A2A5C
triadic
#882A8A #8A882A #2A8A88
tetradic
#882A8A #8A582A #2C8A2A #2A5C8A
square
#882A8A #8A582A #2C8A2A #2A5C8A
split-complementary
#882A8A #5C8A2A #2A8A58
monochromatic
#2C0D2C #5A1C5B #882A8A #B638B9 #CC60CF

Accessibility & contrast

On white

7.65
#882A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#882A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882A8A
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882A8A#FFFFFF#000000##FFFFFF
##882A8A1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8D
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#8C3857
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #882a8a;
/* rgb */ color: rgb(136, 42, 138);
/* oklch */ color: oklch(46.6% 0.171 327.0);
Tailwind
colors: {
  custom: {
    50: '#ae6cac',
    500: '#882a8a',
    950: '#000000',
  },
}
SCSS
$custom: #882a8a;
$custom-light: #ae6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#882a8a",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 298.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46585,
    "c": 0.17103,
    "h": 327
  },
  "luminance": 0.08725
}

Semantic roles & 50–950 ramp

primary
#882A8A
secondary
#5DB45B
accent
#DD4B4E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #882A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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