#89157E#89157E

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

Color values

HEX#89157E
RGBrgb(137, 21, 126)
HSLhsl(306, 73%, 31%)
HSVhsv(306, 85%, 54%)
CMYKcmyk(0%, 84.7%, 8%, 46.3%)
CIE-LABlab(32.62, 56.69, -30.62)
CIE-LCHlch(32.62, 64.43, 331.62°)
OKLaboklab(44.37% 0.1635 -0.0843)
OKLCHoklch(44.37% 0.184 332.7)
XYZxyz(14.3507, 7.3623, 20.3999)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89157E #158920
analogous
#5A1589 #89157E #891544
triadic
#89157E #7E8915 #157E89
tetradic
#89157E #895A15 #158920 #154489
square
#89157E #895A15 #158920 #154489
split-complementary
#89157E #448915 #15895A
monochromatic
#1F051C #540D4D #89157E #BE1DAF #E038D0

Accessibility & contrast

On white

8.49
#89157E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#89157E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89157E
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89157E#FFFFFF#000000##FFFFFF
##89157E1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4281
Deuteranopia (green-blind)
#40527B
Tritanopia (blue-blind)
#8F254B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #89157e;
/* rgb */ color: rgb(137, 21, 126);
/* oklch */ color: oklch(44.4% 0.184 332.7);
Tailwind
colors: {
  custom: {
    50: '#af64a4',
    500: '#89157e',
    950: '#000000',
  },
}
SCSS
$custom: #89157e;
$custom-light: #af64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#89157e",
  "rgb": {
    "r": 137,
    "g": 21,
    "b": 126
  },
  "hsl": {
    "h": 305.69,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4437,
    "c": 0.18394,
    "h": 332.7
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#89157E
secondary
#3DBD49
accent
#F04938
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #89157E

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

Preview Lab → · Contrast checker → · Palette generator →

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