#8F1289#8F1289

#8F1289 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.197 H 330.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8F1289
RGBrgb(143, 18, 137)
HSLhsl(303, 78%, 32%)
HSVhsv(303, 87%, 56%)
CMYKcmyk(0%, 87.4%, 4.2%, 43.9%)
CIE-LABlab(34.15, 60.26, -34.98)
CIE-LCHlch(34.15, 69.68, 329.87°)
OKLaboklab(45.87% 0.1713 -0.0967)
OKLCHoklch(45.87% 0.197 330.5)
XYZxyz(16.0593, 8.0797, 24.3758)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1289 #128F18
analogous
#57128F #8F1289 #8F124B
triadic
#8F1289 #898F12 #12898F
tetradic
#8F1289 #8F5712 #128F18 #124B8F
square
#8F1289 #8F5712 #128F18 #124B8F
split-complementary
#8F1289 #4B8F12 #128F57
monochromatic
#220421 #590B55 #8F1289 #C519BD #E636DD

Accessibility & contrast

On white

8.03
#8F1289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8F1289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1289
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1289#FFFFFF#000000##FFFFFF
##8F12891.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#952851
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1289;
/* rgb */ color: rgb(143, 18, 137);
/* oklch */ color: oklch(45.9% 0.197 330.5);
Tailwind
colors: {
  custom: {
    50: '#b465ac',
    500: '#8f1289',
    950: '#000000',
  },
}
SCSS
$custom: #8f1289;
$custom-light: #b465ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1289",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 137
  },
  "hsl": {
    "h": 302.88,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4587,
    "c": 0.19676,
    "h": 330.5
  },
  "luminance": 0.08078
}

Semantic roles & 50–950 ramp

primary
#8F1289
secondary
#3AC340
accent
#F43D34
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120610
muted
#817A7F

Preview Lab

Preview with #8F1289

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

Preview Lab → · Contrast checker → · Palette generator →

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