#882A78#882A78

#882A78 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.156 H 335.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#882A78
RGBrgb(136, 42, 120)
HSLhsl(310, 53%, 35%)
HSVhsv(310, 69%, 53%)
CMYKcmyk(0%, 69.1%, 11.8%, 46.7%)
CIE-LABlab(34.49, 48.73, -23.92)
CIE-LCHlch(34.49, 54.28, 333.86°)
OKLaboklab(45.58% 0.1422 -0.0652)
OKLCHoklch(45.58% 0.156 335.4)
XYZxyz(14.3716, 8.2474, 18.6007)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882A78 #2A883A
analogous
#692A88 #882A78 #882A49
triadic
#882A78 #78882A #2A7888
tetradic
#882A78 #88692A #2A883A #2A4988
square
#882A78 #88692A #2A883A #2A4988
split-complementary
#882A78 #49882A #2A8869
monochromatic
#2A0D25 #591C4F #882A78 #B738A1 #CE5FBB

Accessibility & contrast

On white

7.93
#882A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#882A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882A78
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882A78#FFFFFF#000000##FFFFFF
##882A781.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A487A
Deuteranopia (green-blind)
#495676
Tritanopia (blue-blind)
#8F304D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #882a78;
/* rgb */ color: rgb(136, 42, 120);
/* oklch */ color: oklch(45.6% 0.156 335.4);
Tailwind
colors: {
  custom: {
    50: '#ae6c9f',
    500: '#882a78',
    950: '#000000',
  },
}
SCSS
$custom: #882a78;
$custom-light: #ae6c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#882a78",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 310.213,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45581,
    "c": 0.15638,
    "h": 335.4
  },
  "luminance": 0.08246
}

Semantic roles & 50–950 ramp

primary
#882A78
secondary
#5BB36A
accent
#DC644C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #882A78

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

Preview Lab → · Contrast checker → · Palette generator →

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