#891878#891878

#891878 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.177 H 335.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#891878
RGBrgb(137, 24, 120)
HSLhsl(309, 70%, 32%)
HSVhsv(309, 82%, 54%)
CMYKcmyk(0%, 82.5%, 12.4%, 46.3%)
CIE-LABlab(32.54, 55.03, -26.96)
CIE-LCHlch(32.54, 61.27, 333.90°)
OKLaboklab(44.21% 0.1611 -0.0737)
OKLCHoklch(44.21% 0.177 335.4)
XYZxyz(14.0335, 7.3290, 18.4412)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#891878 #188929
analogous
#621889 #891878 #89183F
triadic
#891878 #788918 #187889
tetradic
#891878 #896218 #188929 #183F89
square
#891878 #896218 #188929 #183F89
split-complementary
#891878 #3F8918 #188962
monochromatic
#21061D #550F4A #891878 #BD21A6 #DD3EC5

Accessibility & contrast

On white

8.52
#891878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#891878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #891878
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##891878#FFFFFF#000000##FFFFFF
##8918781.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427A
Deuteranopia (green-blind)
#435275
Tritanopia (blue-blind)
#902348
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #891878;
/* rgb */ color: rgb(137, 24, 120);
/* oklch */ color: oklch(44.2% 0.177 335.4);
Tailwind
colors: {
  custom: {
    50: '#af649f',
    500: '#891878',
    950: '#000000',
  },
}
SCSS
$custom: #891878;
$custom-light: #af649f;
$custom-dark: #000000;
JSON
{
  "hex": "#891878",
  "rgb": {
    "r": 137,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 309.027,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4421,
    "c": 0.17718,
    "h": 335.4
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#891878
secondary
#40BD53
accent
#ED563B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #891878

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

Preview Lab → · Contrast checker → · Palette generator →

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