#882A8D#882A8D

#882A8D is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.174 H 325.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#882A8D
RGBrgb(136, 42, 141)
HSLhsl(297, 54%, 36%)
HSVhsv(297, 70%, 55%)
CMYKcmyk(3.5%, 70.2%, 0%, 44.7%)
CIE-LABlab(35.62, 52.34, -35.17)
CIE-LCHlch(35.62, 63.06, 326.10°)
OKLaboklab(46.77% 0.1435 -0.0977)
OKLCHoklch(46.77% 0.174 325.8)
XYZxyz(15.7887, 8.8143, 26.0639)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882A8D #2F8D2A
analogous
#562A8D #882A8D #8D2A60
triadic
#882A8D #8D882A #2A8D88
tetradic
#882A8D #8D562A #2F8D2A #2A608D
square
#882A8D #8D562A #2F8D2A #2A608D
split-complementary
#882A8D #608D2A #2A8D56
monochromatic
#2D0E2F #5B1C5E #882A8D #B538BC #CA61D0

Accessibility & contrast

On white

7.60
#882A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#882A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882A8D
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882A8D#FFFFFF#000000##FFFFFF
##882A8D1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C90
Deuteranopia (green-blind)
#3F588A
Tritanopia (blue-blind)
#8B3958
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #882a8d;
/* rgb */ color: rgb(136, 42, 141);
/* oklch */ color: oklch(46.8% 0.174 325.8);
Tailwind
colors: {
  custom: {
    50: '#ae6caf',
    500: '#882a8d',
    950: '#000000',
  },
}
SCSS
$custom: #882a8d;
$custom-light: #ae6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#882a8d",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 296.97,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46765,
    "c": 0.1736,
    "h": 325.8
  },
  "luminance": 0.08813
}

Semantic roles & 50–950 ramp

primary
#882A8D
secondary
#61B65D
accent
#DD4A52
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #882A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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