#89177B#89177B

#89177B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.180 H 334.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#89177B
RGBrgb(137, 23, 123)
HSLhsl(307, 71%, 31%)
HSVhsv(307, 83%, 54%)
CMYKcmyk(0%, 83.2%, 10.2%, 46.3%)
CIE-LABlab(32.62, 55.74, -28.73)
CIE-LCHlch(32.62, 62.71, 332.73°)
OKLaboklab(44.32% 0.162 -0.0788)
OKLCHoklch(44.32% 0.18 334.1)
XYZxyz(14.1982, 7.3625, 19.4084)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89177B #178925
analogous
#5E1789 #89177B #891742
triadic
#89177B #7B8917 #177B89
tetradic
#89177B #895E17 #178925 #174289
square
#89177B #895E17 #178925 #174289
split-complementary
#89177B #428917 #17895E
monochromatic
#20051D #550E4C #89177B #BD20AA #DE3CCA

Accessibility & contrast

On white

8.49
#89177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#89177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89177B
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89177B#FFFFFF#000000##FFFFFF
##89177B1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13427E
Deuteranopia (green-blind)
#425278
Tritanopia (blue-blind)
#902449
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #89177b;
/* rgb */ color: rgb(137, 23, 123);
/* oklch */ color: oklch(44.3% 0.180 334.1);
Tailwind
colors: {
  custom: {
    50: '#af64a1',
    500: '#89177b',
    950: '#000000',
  },
}
SCSS
$custom: #89177b;
$custom-light: #af64a1;
$custom-dark: #000000;
JSON
{
  "hex": "#89177b",
  "rgb": {
    "r": 137,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 307.368,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44316,
    "c": 0.18017,
    "h": 334.1
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#89177B
secondary
#3FBD4F
accent
#EE503A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #89177B

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

Preview Lab → · Contrast checker → · Palette generator →

#89177B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva