#8F1589#8F1589

#8F1589 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.195 H 330.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8F1589
RGBrgb(143, 21, 137)
HSLhsl(303, 74%, 32%)
HSVhsv(303, 85%, 56%)
CMYKcmyk(0%, 85.3%, 4.2%, 43.9%)
CIE-LABlab(34.36, 59.64, -34.64)
CIE-LCHlch(34.36, 68.97, 329.85°)
OKLaboklab(46.02% 0.1695 -0.0958)
OKLCHoklch(46.02% 0.195 330.5)
XYZxyz(16.1112, 8.1835, 24.3931)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1589 #158F1B
analogous
#58158F #8F1589 #8F154C
triadic
#8F1589 #898F15 #15898F
tetradic
#8F1589 #8F5815 #158F1B #154C8F
square
#8F1589 #8F5815 #158F1B #154C8F
split-complementary
#8F1589 #4C8F15 #158F58
monochromatic
#240523 #5A0D56 #8F1589 #C41DBC #E23CDA

Accessibility & contrast

On white

7.97
#8F1589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8F1589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1589
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1589#FFFFFF#000000##FFFFFF
##8F15891.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#952951
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1589;
/* rgb */ color: rgb(143, 21, 137);
/* oklch */ color: oklch(46.0% 0.195 330.5);
Tailwind
colors: {
  custom: {
    50: '#b465ac',
    500: '#8f1589',
    950: '#000000',
  },
}
SCSS
$custom: #8f1589;
$custom-light: #b465ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1589",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 302.951,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.46021,
    "c": 0.19471,
    "h": 330.5
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

primary
#8F1589
secondary
#3EC244
accent
#F14037
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1589

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

Preview Lab → · Contrast checker → · Palette generator →

#8F1589 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva