#89178F#89178F

#89178F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.195 H 325.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#89178F
RGBrgb(137, 23, 143)
HSLhsl(297, 72%, 33%)
HSVhsv(297, 84%, 56%)
CMYKcmyk(4.2%, 83.9%, 0%, 43.9%)
CIE-LABlab(33.81, 58.96, -39.29)
CIE-LCHlch(33.81, 70.85, 326.32°)
OKLaboklab(45.54% 0.1614 -0.1095)
OKLCHoklch(45.54% 0.195 325.8)
XYZxyz(15.5805, 7.9154, 26.6885)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89178F #1D8F17
analogous
#4D178F #89178F #8F1759
triadic
#89178F #8F8917 #178F89
tetradic
#89178F #8F4D17 #1D8F17 #17598F
square
#89178F #8F4D17 #1D8F17 #17598F
split-complementary
#89178F #598F17 #178F4D
monochromatic
#240626 #560F5A #89178F #BC1FC4 #D840E0

Accessibility & contrast

On white

8.13
#89178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#89178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89178F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89178F#FFFFFF#000000##FFFFFF
##89178F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#36548C
Tritanopia (blue-blind)
#8D2F55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #89178f;
/* rgb */ color: rgb(137, 23, 143);
/* oklch */ color: oklch(45.5% 0.195 325.8);
Tailwind
colors: {
  custom: {
    50: '#af65b0',
    500: '#89178f',
    950: '#000000',
  },
}
SCSS
$custom: #89178f;
$custom-light: #af65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#89178f",
  "rgb": {
    "r": 137,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 297,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45542,
    "c": 0.19506,
    "h": 325.8
  },
  "luminance": 0.07914
}

Semantic roles & 50–950 ramp

primary
#89178F
secondary
#47C141
accent
#EF3942
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #89178F

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

Preview Lab → · Contrast checker → · Palette generator →

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