#89178D#89178D

#89178D is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.194 H 326.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#89178D
RGBrgb(137, 23, 141)
HSLhsl(298, 72%, 32%)
HSVhsv(298, 84%, 55%)
CMYKcmyk(2.8%, 83.7%, 0%, 44.7%)
CIE-LABlab(33.68, 58.62, -38.26)
CIE-LCHlch(33.68, 70.01, 326.87°)
OKLaboklab(45.41% 0.1616 -0.1065)
OKLCHoklch(45.41% 0.194 326.6)
XYZxyz(15.4304, 7.8554, 25.8977)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89178D #1B8D17
analogous
#4E178D #89178D #8D1756
triadic
#89178D #8D8917 #178D89
tetradic
#89178D #8D4E17 #1B8D17 #17568D
square
#89178D #8D4E17 #1B8D17 #17568D
split-complementary
#89178D #568D17 #178D4E
monochromatic
#230624 #560E58 #89178D #BC20C2 #DA3FE0

Accessibility & contrast

On white

8.17
#89178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#89178D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89178D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89178D#FFFFFF#000000##FFFFFF
##89178D1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#37548A
Tritanopia (blue-blind)
#8D2E54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #89178d;
/* rgb */ color: rgb(137, 23, 141);
/* oklch */ color: oklch(45.4% 0.194 326.6);
Tailwind
colors: {
  custom: {
    50: '#af65af',
    500: '#89178d',
    950: '#000000',
  },
}
SCSS
$custom: #89178d;
$custom-light: #af65af;
$custom-dark: #000000;
JSON
{
  "hex": "#89178d",
  "rgb": {
    "r": 137,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 297.966,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45412,
    "c": 0.19352,
    "h": 326.6
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#89178D
secondary
#44C040
accent
#EF393F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #89178D

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

Preview Lab → · Contrast checker → · Palette generator →

#89178D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva