#881878#881878

#881878 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.177 H 335.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#881878
RGBrgb(136, 24, 120)
HSLhsl(309, 70%, 31%)
HSVhsv(309, 82%, 53%)
CMYKcmyk(0%, 82.4%, 11.8%, 46.7%)
CIE-LABlab(32.36, 54.80, -27.26)
CIE-LCHlch(32.36, 61.21, 333.55°)
OKLaboklab(44.04% 0.1601 -0.0746)
OKLCHoklch(44.04% 0.177 335)
XYZxyz(13.8703, 7.2449, 18.4336)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881878 #188828
analogous
#601888 #881878 #881840
triadic
#881878 #788818 #187888
tetradic
#881878 #886018 #188828 #184088
square
#881878 #886018 #188828 #184088
split-complementary
#881878 #408818 #188860
monochromatic
#20061C #540F4A #881878 #BC21A6 #DD3EC6

Accessibility & contrast

On white

8.58
#881878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#881878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881878
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881878#FFFFFF#000000##FFFFFF
##8818781.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427A
Deuteranopia (green-blind)
#435275
Tritanopia (blue-blind)
#8F2348
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #881878;
/* rgb */ color: rgb(136, 24, 120);
/* oklch */ color: oklch(44.0% 0.177 335.0);
Tailwind
colors: {
  custom: {
    50: '#ae649f',
    500: '#881878',
    950: '#000000',
  },
}
SCSS
$custom: #881878;
$custom-light: #ae649f;
$custom-dark: #000000;
JSON
{
  "hex": "#881878",
  "rgb": {
    "r": 136,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 308.571,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44042,
    "c": 0.17665,
    "h": 335
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#881878
secondary
#40BC52
accent
#ED543B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #881878

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

Preview Lab → · Contrast checker → · Palette generator →

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