#882B7D#882B7D

#882B7D is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.159 H 332.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#882B7D
RGBrgb(136, 43, 125)
HSLhsl(307, 52%, 35%)
HSVhsv(307, 68%, 53%)
CMYKcmyk(0%, 68.4%, 8.1%, 46.7%)
CIE-LABlab(34.89, 49.15, -26.42)
CIE-LCHlch(34.89, 55.80, 331.74°)
OKLaboklab(45.95% 0.1415 -0.0724)
OKLCHoklch(45.95% 0.159 332.9)
XYZxyz(14.7189, 8.4438, 20.2527)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882B7D #2B8836
analogous
#652B88 #882B7D #882B4E
triadic
#882B7D #7D882B #2B7D88
tetradic
#882B7D #88652B #2B8836 #2B4E88
square
#882B7D #88652B #2B8836 #2B4E88
split-complementary
#882B7D #4E882B #2B8865
monochromatic
#2B0E28 #5A1C52 #882B7D #B63AA8 #CD61C0

Accessibility & contrast

On white

7.81
#882B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #882B7D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882B7D#FFFFFF#000000##FFFFFF
##882B7D1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497F
Deuteranopia (green-blind)
#48577B
Tritanopia (blue-blind)
#8E3350
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #882b7d;
/* rgb */ color: rgb(136, 43, 125);
/* oklch */ color: oklch(46.0% 0.159 332.9);
Tailwind
colors: {
  custom: {
    50: '#ae6ca3',
    500: '#882b7d',
    950: '#000000',
  },
}
SCSS
$custom: #882b7d;
$custom-light: #ae6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#882b7d",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 307.097,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45952,
    "c": 0.15896,
    "h": 332.9
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#882B7D
secondary
#5CB366
accent
#DB5D4C
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #882B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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