#882B7E#882B7E

#882B7E is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.0% C 0.160 H 332.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#882B7E
RGBrgb(136, 43, 126)
HSLhsl(306, 52%, 35%)
HSVhsv(306, 68%, 53%)
CMYKcmyk(0%, 68.4%, 7.4%, 46.7%)
CIE-LABlab(34.94, 49.31, -26.97)
CIE-LCHlch(34.94, 56.21, 331.33°)
OKLaboklab(46.01% 0.1416 -0.0739)
OKLCHoklch(46.01% 0.16 332.4)
XYZxyz(14.7831, 8.4695, 20.5908)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882B7E #2B8835
analogous
#642B88 #882B7E #882B4F
triadic
#882B7E #7E882B #2B7E88
tetradic
#882B7E #88642B #2B8835 #2B4F88
square
#882B7E #88642B #2B8835 #2B4F88
split-complementary
#882B7E #4F882B #2B8864
monochromatic
#2B0E28 #5A1C53 #882B7E #B63AA9 #CD61C1

Accessibility & contrast

On white

7.80
#882B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#882B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882B7E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882B7E#FFFFFF#000000##FFFFFF
##882B7E1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#47577C
Tritanopia (blue-blind)
#8E3451
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #882b7e;
/* rgb */ color: rgb(136, 43, 126);
/* oklch */ color: oklch(46.0% 0.160 332.4);
Tailwind
colors: {
  custom: {
    50: '#ae6ca3',
    500: '#882b7e',
    950: '#000000',
  },
}
SCSS
$custom: #882b7e;
$custom-light: #ae6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#882b7e",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 306.452,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46006,
    "c": 0.15976,
    "h": 332.4
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#882B7E
secondary
#5CB365
accent
#DB5C4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #882B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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