#89178A#89178A

#89178A is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.191 H 327.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#89178A
RGBrgb(137, 23, 138)
HSLhsl(299, 71%, 32%)
HSVhsv(299, 83%, 54%)
CMYKcmyk(0.7%, 83.3%, 0%, 45.9%)
CIE-LABlab(33.49, 58.12, -36.71)
CIE-LCHlch(33.49, 68.74, 327.73°)
OKLaboklab(45.22% 0.1618 -0.102)
OKLCHoklch(45.22% 0.191 327.8)
XYZxyz(15.2102, 7.7673, 24.7380)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89178A #188A17
analogous
#50178A #89178A #8A1752
triadic
#89178A #8A8917 #178A89
tetradic
#89178A #8A5017 #188A17 #17528A
square
#89178A #8A5017 #188A17 #17528A
split-complementary
#89178A #528A17 #178A50
monochromatic
#210621 #550E56 #89178A #BD20BE #DD3DDF

Accessibility & contrast

On white

8.22
#89178A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#89178A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89178A
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89178A#FFFFFF#000000##FFFFFF
##89178A1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#395487
Tritanopia (blue-blind)
#8D2D52
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #89178a;
/* rgb */ color: rgb(137, 23, 138);
/* oklch */ color: oklch(45.2% 0.191 327.8);
Tailwind
colors: {
  custom: {
    50: '#af65ad',
    500: '#89178a',
    950: '#000000',
  },
}
SCSS
$custom: #89178a;
$custom-light: #af65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#89178a",
  "rgb": {
    "r": 137,
    "g": 23,
    "b": 138
  },
  "hsl": {
    "h": 299.478,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4522,
    "c": 0.19124,
    "h": 327.8
  },
  "luminance": 0.07766
}

Semantic roles & 50–950 ramp

primary
#89178A
secondary
#40BE3F
accent
#EE3A3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #89178A

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

Preview Lab → · Contrast checker → · Palette generator →

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