#89128F#89128F

#89128F is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.3% C 0.199 H 325.9°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#89128F
RGBrgb(137, 18, 143)
HSLhsl(297, 78%, 32%)
HSVhsv(297, 87%, 56%)
CMYKcmyk(4.2%, 87.4%, 0%, 43.9%)
CIE-LABlab(33.43, 60.07, -39.90)
CIE-LCHlch(33.43, 72.12, 326.41°)
OKLaboklab(45.27% 0.1645 -0.1113)
OKLCHoklch(45.27% 0.199 325.9)
XYZxyz(15.4904, 7.7353, 26.6584)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89128F #188F12
analogous
#4B128F #89128F #8F1257
triadic
#89128F #8F8912 #128F89
tetradic
#89128F #8F4B12 #188F12 #12578F
square
#89128F #8F4B12 #188F12 #12578F
split-complementary
#89128F #578F12 #128F4B
monochromatic
#210422 #550B59 #89128F #BD19C5 #DD36E6

Accessibility & contrast

On white

8.25
#89128F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#89128F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #89128F
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89128F#FFFFFF#000000##FFFFFF
##89128F1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#34538C
Tritanopia (blue-blind)
#8D2D54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #89128f;
/* rgb */ color: rgb(137, 18, 143);
/* oklch */ color: oklch(45.3% 0.199 325.9);
Tailwind
colors: {
  custom: {
    50: '#af64b0',
    500: '#89128f',
    950: '#000000',
  },
}
SCSS
$custom: #89128f;
$custom-light: #af64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#89128f",
  "rgb": {
    "r": 137,
    "g": 18,
    "b": 143
  },
  "hsl": {
    "h": 297.12,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45273,
    "c": 0.1986,
    "h": 325.9
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#89128F
secondary
#40C33A
accent
#F4343D
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #89128F

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

Preview Lab → · Contrast checker → · Palette generator →

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