#89157B#89157B

#89157B is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.182 H 334.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#89157B
RGBrgb(137, 21, 123)
HSLhsl(307, 73%, 31%)
HSVhsv(307, 85%, 54%)
CMYKcmyk(0%, 84.7%, 10.2%, 46.3%)
CIE-LABlab(32.45, 56.23, -29.00)
CIE-LCHlch(32.45, 63.26, 332.72°)
OKLaboklab(44.2% 0.1635 -0.0796)
OKLCHoklch(44.2% 0.182 334)
XYZxyz(14.1600, 7.2860, 19.3956)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89157B #158923
analogous
#5D1589 #89157B #891541
triadic
#89157B #7B8915 #157B89
tetradic
#89157B #895D15 #158923 #154189
square
#89157B #895D15 #158923 #154189
split-complementary
#89157B #418915 #15895D
monochromatic
#1F051C #540D4B #89157B #BE1DAB #E038CC

Accessibility & contrast

On white

8.55
#89157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#89157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89157B
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89157B#FFFFFF#000000##FFFFFF
##89157B1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11427E
Deuteranopia (green-blind)
#415278
Tritanopia (blue-blind)
#902349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #89157b;
/* rgb */ color: rgb(137, 21, 123);
/* oklch */ color: oklch(44.2% 0.182 334.0);
Tailwind
colors: {
  custom: {
    50: '#af64a1',
    500: '#89157b',
    950: '#000000',
  },
}
SCSS
$custom: #89157b;
$custom-light: #af64a1;
$custom-dark: #000000;
JSON
{
  "hex": "#89157b",
  "rgb": {
    "r": 137,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 307.241,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44195,
    "c": 0.18181,
    "h": 334
  },
  "luminance": 0.07285
}

Semantic roles & 50–950 ramp

primary
#89157B
secondary
#3DBD4C
accent
#F04E38
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #89157B

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

Preview Lab → · Contrast checker → · Palette generator →

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