#89167F#89167F

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

Color values

HEX#89167F
RGBrgb(137, 22, 127)
HSLhsl(305, 72%, 31%)
HSVhsv(305, 84%, 54%)
CMYKcmyk(0%, 83.9%, 7.3%, 46.3%)
CIE-LABlab(32.76, 56.60, -31.02)
CIE-LCHlch(32.76, 64.55, 331.27°)
OKLaboklab(44.49% 0.1628 -0.0855)
OKLCHoklch(44.49% 0.184 332.3)
XYZxyz(14.4343, 7.4257, 20.7477)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89167F #168920
analogous
#591689 #89167F #891645
triadic
#89167F #7F8916 #167F89
tetradic
#89167F #895916 #168920 #164589
square
#89167F #895916 #168920 #164589
split-complementary
#89167F #458916 #168959
monochromatic
#20051D #540E4E #89167F #BE1EB0 #DF3AD1

Accessibility & contrast

On white

8.45
#89167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#89167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89167F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89167F#FFFFFF#000000##FFFFFF
##89167F1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4382
Deuteranopia (green-blind)
#3F537C
Tritanopia (blue-blind)
#8F264B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #89167f;
/* rgb */ color: rgb(137, 22, 127);
/* oklch */ color: oklch(44.5% 0.184 332.3);
Tailwind
colors: {
  custom: {
    50: '#af64a4',
    500: '#89167f',
    950: '#000000',
  },
}
SCSS
$custom: #89167f;
$custom-light: #af64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#89167f",
  "rgb": {
    "r": 137,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 305.217,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44487,
    "c": 0.18388,
    "h": 332.3
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#89167F
secondary
#3EBD49
accent
#EF4939
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #89167F

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

Preview Lab → · Contrast checker → · Palette generator →

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