#89157F#89157F

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

Color values

HEX#89157F
RGBrgb(137, 21, 127)
HSLhsl(305, 73%, 31%)
HSVhsv(305, 85%, 54%)
CMYKcmyk(0%, 84.7%, 7.3%, 46.3%)
CIE-LABlab(32.67, 56.84, -31.15)
CIE-LCHlch(32.67, 64.82, 331.27°)
OKLaboklab(44.43% 0.1635 -0.0858)
OKLCHoklch(44.43% 0.185 332.3)
XYZxyz(14.4155, 7.3883, 20.7414)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89157F #15891F
analogous
#591589 #89157F #891545
triadic
#89157F #7F8915 #157F89
tetradic
#89157F #895915 #15891F #154589
square
#89157F #895915 #15891F #154589
split-complementary
#89157F #458915 #158959
monochromatic
#1F051D #540D4E #89157F #BE1DB0 #E038D2

Accessibility & contrast

On white

8.48
#89157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #89157F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89157F#FFFFFF#000000##FFFFFF
##89157F1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084382
Deuteranopia (green-blind)
#3F527C
Tritanopia (blue-blind)
#8F254B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #89157f;
/* rgb */ color: rgb(137, 21, 127);
/* oklch */ color: oklch(44.4% 0.185 332.3);
Tailwind
colors: {
  custom: {
    50: '#af64a4',
    500: '#89157f',
    950: '#000000',
  },
}
SCSS
$custom: #89157f;
$custom-light: #af64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#89157f",
  "rgb": {
    "r": 137,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 305.172,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44429,
    "c": 0.18467,
    "h": 332.3
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#89157F
secondary
#3DBD48
accent
#F04838
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #89157F

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

Preview Lab → · Contrast checker → · Palette generator →

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