#882A8B#882A8B

#882A8B is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.172 H 326.6°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#882A8B
RGBrgb(136, 42, 139)
HSLhsl(298, 54%, 35%)
HSVhsv(298, 70%, 55%)
CMYKcmyk(2.2%, 69.8%, 0%, 45.5%)
CIE-LABlab(35.51, 51.98, -34.13)
CIE-LCHlch(35.51, 62.18, 326.71°)
OKLaboklab(46.65% 0.1435 -0.0946)
OKLCHoklch(46.65% 0.172 326.6)
XYZxyz(15.6412, 8.7553, 25.2872)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882A8B #2D8B2A
analogous
#572A8B #882A8B #8B2A5E
triadic
#882A8B #8B882A #2A8B88
tetradic
#882A8B #8B572A #2D8B2A #2A5E8B
square
#882A8B #8B572A #2D8B2A #2A5E8B
split-complementary
#882A8B #5E8B2A #2A8B57
monochromatic
#2C0E2D #5A1C5C #882A8B #B638BA #CC60CF

Accessibility & contrast

On white

7.63
#882A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#882A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882A8B
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882A8B#FFFFFF#000000##FFFFFF
##882A8B1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8E
Deuteranopia (green-blind)
#405889
Tritanopia (blue-blind)
#8C3957
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #882a8b;
/* rgb */ color: rgb(136, 42, 139);
/* oklch */ color: oklch(46.6% 0.172 326.6);
Tailwind
colors: {
  custom: {
    50: '#ae6cad',
    500: '#882a8b',
    950: '#000000',
  },
}
SCSS
$custom: #882a8b;
$custom-light: #ae6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#882a8b",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 298.144,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46645,
    "c": 0.17189,
    "h": 326.6
  },
  "luminance": 0.08754
}

Semantic roles & 50–950 ramp

primary
#882A8B
secondary
#5FB55C
accent
#DD4B4F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #882A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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