#89177F#89177F

#89177F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.183 H 332.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#89177F
RGBrgb(137, 23, 127)
HSLhsl(305, 71%, 31%)
HSVhsv(305, 83%, 54%)
CMYKcmyk(0%, 83.2%, 7.3%, 46.3%)
CIE-LABlab(32.84, 56.35, -30.89)
CIE-LCHlch(32.84, 64.27, 331.27°)
OKLaboklab(44.55% 0.1621 -0.0851)
OKLCHoklch(44.55% 0.183 332.3)
XYZxyz(14.4538, 7.4647, 20.7542)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89177F #178921
analogous
#5A1789 #89177F #891746
triadic
#89177F #7F8917 #177F89
tetradic
#89177F #895A17 #178921 #174689
square
#89177F #895A17 #178921 #174689
split-complementary
#89177F #468917 #17895A
monochromatic
#20051E #550E4E #89177F #BD20B0 #DE3CD0

Accessibility & contrast

On white

8.42
#89177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#89177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89177F
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89177F#FFFFFF#000000##FFFFFF
##89177F1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4382
Deuteranopia (green-blind)
#40537C
Tritanopia (blue-blind)
#8F264C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #89177f;
/* rgb */ color: rgb(137, 23, 127);
/* oklch */ color: oklch(44.5% 0.183 332.3);
Tailwind
colors: {
  custom: {
    50: '#af64a4',
    500: '#89177f',
    950: '#000000',
  },
}
SCSS
$custom: #89177f;
$custom-light: #af64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#89177f",
  "rgb": {
    "r": 137,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 305.263,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44548,
    "c": 0.18306,
    "h": 332.3
  },
  "luminance": 0.07463
}

Semantic roles & 50–950 ramp

primary
#89177F
secondary
#3FBD4A
accent
#EE4A3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #89177F

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

Preview Lab → · Contrast checker → · Palette generator →

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