#882B7C#882B7C

#882B7C is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.9% C 0.158 H 333.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#882B7C
RGBrgb(136, 43, 124)
HSLhsl(308, 52%, 35%)
HSVhsv(308, 68%, 53%)
CMYKcmyk(0%, 68.4%, 8.8%, 46.7%)
CIE-LABlab(34.84, 48.98, -25.88)
CIE-LCHlch(34.84, 55.40, 332.15°)
OKLaboklab(45.9% 0.1414 -0.0708)
OKLCHoklch(45.9% 0.158 333.4)
XYZxyz(14.6554, 8.4184, 19.9179)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882B7C #2B8837
analogous
#652B88 #882B7C #882B4D
triadic
#882B7C #7C882B #2B7C88
tetradic
#882B7C #88652B #2B8837 #2B4D88
square
#882B7C #88652B #2B8837 #2B4D88
split-complementary
#882B7C #4D882B #2B8865
monochromatic
#2B0E27 #5A1C52 #882B7C #B63AA6 #CD61BF

Accessibility & contrast

On white

7.83
#882B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#882B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882B7C
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882B7C#FFFFFF#000000##FFFFFF
##882B7C1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497E
Deuteranopia (green-blind)
#48577A
Tritanopia (blue-blind)
#8E334F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #882b7c;
/* rgb */ color: rgb(136, 43, 124);
/* oklch */ color: oklch(45.9% 0.158 333.4);
Tailwind
colors: {
  custom: {
    50: '#ae6ca2',
    500: '#882b7c',
    950: '#000000',
  },
}
SCSS
$custom: #882b7c;
$custom-light: #ae6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#882b7c",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 307.742,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.15816,
    "h": 333.4
  },
  "luminance": 0.08417
}

Semantic roles & 50–950 ramp

primary
#882B7C
secondary
#5CB367
accent
#DB5F4C
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #882B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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