#882F8D#882F8D

#882F8D is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.3% C 0.167 H 325.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#882F8D
RGBrgb(136, 47, 141)
HSLhsl(297, 50%, 37%)
HSVhsv(297, 67%, 55%)
CMYKcmyk(3.5%, 66.7%, 0%, 44.7%)
CIE-LABlab(36.35, 50.30, -34.02)
CIE-LCHlch(36.35, 60.72, 325.93°)
OKLaboklab(47.29% 0.1378 -0.0943)
OKLCHoklch(47.29% 0.167 325.6)
XYZxyz(15.9772, 9.1914, 26.1267)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882F8D #348D2F
analogous
#592F8D #882F8D #8D2F63
triadic
#882F8D #8D882F #2F8D88
tetradic
#882F8D #8D592F #348D2F #2F638D
square
#882F8D #8D592F #348D2F #2F638D
split-complementary
#882F8D #638D2F #2F8D59
monochromatic
#2F1031 #5C205F #882F8D #B43EBB #C869CD

Accessibility & contrast

On white

7.40
#882F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#882F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882F8D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882F8D#FFFFFF#000000##FFFFFF
##882F8D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E90
Deuteranopia (green-blind)
#42598B
Tritanopia (blue-blind)
#8B3D5A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #882f8d;
/* rgb */ color: rgb(136, 47, 141);
/* oklch */ color: oklch(47.3% 0.167 325.6);
Tailwind
colors: {
  custom: {
    50: '#ae6faf',
    500: '#882f8d',
    950: '#000000',
  },
}
SCSS
$custom: #882f8d;
$custom-light: #ae6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#882f8d",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 296.809,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47288,
    "c": 0.16704,
    "h": 325.6
  },
  "luminance": 0.0919
}

Semantic roles & 50–950 ramp

primary
#882F8D
secondary
#68B464
accent
#DA4E56
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #882F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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