#882E8D#882E8D

#882E8D is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.168 H 325.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#882E8D
RGBrgb(136, 46, 141)
HSLhsl(297, 51%, 37%)
HSVhsv(297, 67%, 55%)
CMYKcmyk(3.5%, 67.4%, 0%, 44.7%)
CIE-LABlab(36.20, 50.72, -34.26)
CIE-LCHlch(36.20, 61.21, 325.96°)
OKLaboklab(47.18% 0.139 -0.095)
OKLCHoklch(47.18% 0.168 325.6)
XYZxyz(15.9377, 9.1123, 26.1135)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882E8D #338D2E
analogous
#592E8D #882E8D #8D2E63
triadic
#882E8D #8D882E #2E8D88
tetradic
#882E8D #8D592E #338D2E #2E638D
square
#882E8D #8D592E #338D2E #2E638D
split-complementary
#882E8D #638D2E #2E8D59
monochromatic
#2F1031 #5B1F5F #882E8D #B53DBB #C868CE

Accessibility & contrast

On white

7.44
#882E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#882E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882E8D
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882E8D#FFFFFF#000000##FFFFFF
##882E8D1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E90
Deuteranopia (green-blind)
#41598B
Tritanopia (blue-blind)
#8B3C59
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #882e8d;
/* rgb */ color: rgb(136, 46, 141);
/* oklch */ color: oklch(47.2% 0.168 325.6);
Tailwind
colors: {
  custom: {
    50: '#ae6eaf',
    500: '#882e8d',
    950: '#000000',
  },
}
SCSS
$custom: #882e8d;
$custom-light: #ae6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#882e8d",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 296.842,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47179,
    "c": 0.16839,
    "h": 325.6
  },
  "luminance": 0.09111
}

Semantic roles & 50–950 ramp

primary
#882E8D
secondary
#67B562
accent
#DA4E55
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #882E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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