#881988#881988

#881988 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.188 H 328.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#881988
RGBrgb(136, 25, 136)
HSLhsl(300, 69%, 32%)
HSVhsv(300, 82%, 53%)
CMYKcmyk(0%, 81.6%, 0%, 46.7%)
CIE-LABlab(33.37, 57.08, -35.68)
CIE-LCHlch(33.37, 67.31, 327.99°)
OKLaboklab(45.06% 0.1594 -0.099)
OKLCHoklch(45.06% 0.188 328.1)
XYZxyz(14.9447, 7.7082, 23.9885)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881988 #198819
analogous
#511988 #881988 #881951
triadic
#881988 #888819 #198888
tetradic
#881988 #885119 #198819 #195188
square
#881988 #885119 #198819 #195188
split-complementary
#881988 #518819 #198851
monochromatic
#210621 #540F54 #881988 #BC23BC #DC40DC

Accessibility & contrast

On white

8.26
#881988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#881988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881988
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881988#FFFFFF#000000##FFFFFF
##8819881.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#3A5385
Tritanopia (blue-blind)
#8D2D51
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #881988;
/* rgb */ color: rgb(136, 25, 136);
/* oklch */ color: oklch(45.1% 0.188 328.1);
Tailwind
colors: {
  custom: {
    50: '#ae65ab',
    500: '#881988',
    950: '#000000',
  },
}
SCSS
$custom: #881988;
$custom-light: #ae65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#881988",
  "rgb": {
    "r": 136,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 300,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45058,
    "c": 0.18762,
    "h": 328.1
  },
  "luminance": 0.07707
}

Semantic roles & 50–950 ramp

primary
#881988
secondary
#41BB41
accent
#EC3C3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #881988

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

Preview Lab → · Contrast checker → · Palette generator →

#881988 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva