#89178C#89178C

#89178C is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.193 H 327.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#89178C
RGBrgb(137, 23, 140)
HSLhsl(298, 72%, 32%)
HSVhsv(298, 84%, 55%)
CMYKcmyk(2.1%, 83.6%, 0%, 45.1%)
CIE-LABlab(33.62, 58.46, -37.74)
CIE-LCHlch(33.62, 69.58, 327.15°)
OKLaboklab(45.35% 0.1617 -0.105)
OKLCHoklch(45.35% 0.193 327)
XYZxyz(15.3563, 7.8257, 25.5076)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89178C #1A8C17
analogous
#4F178C #89178C #8C1754
triadic
#89178C #8C8917 #178C89
tetradic
#89178C #8C4F17 #1A8C17 #17548C
square
#89178C #8C4F17 #1A8C17 #17548C
split-complementary
#89178C #548C17 #178C4F
monochromatic
#220623 #560E57 #89178C #BC20C1 #DB3EDF

Accessibility & contrast

On white

8.19
#89178C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #89178C
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89178C#FFFFFF#000000##FFFFFF
##89178C1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#385489
Tritanopia (blue-blind)
#8D2E53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #89178c;
/* rgb */ color: rgb(137, 23, 140);
/* oklch */ color: oklch(45.3% 0.193 327.0);
Tailwind
colors: {
  custom: {
    50: '#af65ae',
    500: '#89178c',
    950: '#000000',
  },
}
SCSS
$custom: #89178c;
$custom-light: #af65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#89178c",
  "rgb": {
    "r": 137,
    "g": 23,
    "b": 140
  },
  "hsl": {
    "h": 298.462,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45348,
    "c": 0.19276,
    "h": 327
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#89178C
secondary
#43BF3F
accent
#EF393E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #89178C

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

Preview Lab → · Contrast checker → · Palette generator →

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