#8F1387#8F1387

#8F1387 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.195 H 331.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8F1387
RGBrgb(143, 19, 135)
HSLhsl(304, 77%, 32%)
HSVhsv(304, 87%, 56%)
CMYKcmyk(0%, 86.7%, 5.6%, 43.9%)
CIE-LABlab(34.10, 59.75, -33.82)
CIE-LCHlch(34.10, 68.66, 330.49°)
OKLaboklab(45.8% 0.1708 -0.0934)
OKLCHoklch(45.8% 0.195 331.3)
XYZxyz(15.9338, 8.0560, 23.6328)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1387 #138F1B
analogous
#59138F #8F1387 #8F1349
triadic
#8F1387 #878F13 #13878F
tetradic
#8F1387 #8F5913 #138F1B #13498F
square
#8F1387 #8F5913 #138F1B #13498F
split-complementary
#8F1387 #498F13 #138F59
monochromatic
#230521 #590C54 #8F1387 #C51ABA #E538D9

Accessibility & contrast

On white

8.04
#8F1387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8F1387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1387
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1387#FFFFFF#000000##FFFFFF
##8F13871.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#405684
Tritanopia (blue-blind)
#952750
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1387;
/* rgb */ color: rgb(143, 19, 135);
/* oklch */ color: oklch(45.8% 0.195 331.3);
Tailwind
colors: {
  custom: {
    50: '#b465aa',
    500: '#8f1387',
    950: '#000000',
  },
}
SCSS
$custom: #8f1387;
$custom-light: #b465aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1387",
  "rgb": {
    "r": 143,
    "g": 19,
    "b": 135
  },
  "hsl": {
    "h": 303.871,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.19467,
    "h": 331.3
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#8F1387
secondary
#3BC344
accent
#F34135
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120610
muted
#817A7F

Preview Lab

Preview with #8F1387

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

Preview Lab → · Contrast checker → · Palette generator →

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