#89177E#89177E

#89177E is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.182 H 332.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#89177E
RGBrgb(137, 23, 126)
HSLhsl(306, 71%, 31%)
HSVhsv(306, 83%, 54%)
CMYKcmyk(0%, 83.2%, 8%, 46.3%)
CIE-LABlab(32.79, 56.20, -30.35)
CIE-LCHlch(32.79, 63.87, 331.63°)
OKLaboklab(44.49% 0.1621 -0.0835)
OKLCHoklch(44.49% 0.182 332.7)
XYZxyz(14.3889, 7.4388, 20.4126)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89177E #178922
analogous
#5B1789 #89177E #891745
triadic
#89177E #7E8917 #177E89
tetradic
#89177E #895B17 #178922 #174589
square
#89177E #895B17 #178922 #174589
split-complementary
#89177E #458917 #17895B
monochromatic
#20051E #550E4E #89177E #BD20AE #DE3CCF

Accessibility & contrast

On white

8.44
#89177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #89177E
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89177E#FFFFFF#000000##FFFFFF
##89177E1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4381
Deuteranopia (green-blind)
#40537B
Tritanopia (blue-blind)
#8F264B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #89177e;
/* rgb */ color: rgb(137, 23, 126);
/* oklch */ color: oklch(44.5% 0.182 332.7);
Tailwind
colors: {
  custom: {
    50: '#af64a4',
    500: '#89177e',
    950: '#000000',
  },
}
SCSS
$custom: #89177e;
$custom-light: #af64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#89177e",
  "rgb": {
    "r": 137,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 305.789,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44489,
    "c": 0.18233,
    "h": 332.7
  },
  "luminance": 0.07438
}

Semantic roles & 50–950 ramp

primary
#89177E
secondary
#3FBD4B
accent
#EE4B3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #89177E

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

Preview Lab → · Contrast checker → · Palette generator →

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