#8F1388#8F1388

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

Color values

HEX#8F1388
RGBrgb(143, 19, 136)
HSLhsl(303, 77%, 32%)
HSVhsv(303, 87%, 56%)
CMYKcmyk(0%, 86.7%, 4.9%, 43.9%)
CIE-LABlab(34.16, 59.91, -34.34)
CIE-LCHlch(34.16, 69.05, 330.18°)
OKLaboklab(45.86% 0.1708 -0.0949)
OKLCHoklch(45.86% 0.195 330.9)
XYZxyz(16.0045, 8.0843, 24.0053)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1388 #138F1A
analogous
#58138F #8F1388 #8F134A
triadic
#8F1388 #888F13 #13888F
tetradic
#8F1388 #8F5813 #138F1A #134A8F
square
#8F1388 #8F5813 #138F1A #134A8F
split-complementary
#8F1388 #4A8F13 #138F58
monochromatic
#230521 #590C55 #8F1388 #C51ABB #E538DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F1388#FFFFFF#000000##FFFFFF
##8F13881.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)
#00468B
Deuteranopia (green-blind)
#3F5685
Tritanopia (blue-blind)
#952850
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1388;
/* rgb */ color: rgb(143, 19, 136);
/* oklch */ color: oklch(45.9% 0.195 330.9);
Tailwind
colors: {
  custom: {
    50: '#b465ab',
    500: '#8f1388',
    950: '#000000',
  },
}
SCSS
$custom: #8f1388;
$custom-light: #b465ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1388",
  "rgb": {
    "r": 143,
    "g": 19,
    "b": 136
  },
  "hsl": {
    "h": 303.387,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45857,
    "c": 0.19538,
    "h": 330.9
  },
  "luminance": 0.08083
}

Semantic roles & 50–950 ramp

primary
#8F1388
secondary
#3BC343
accent
#F33F35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120610
muted
#817A7F

Preview Lab

Preview with #8F1388

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

Preview Lab → · Contrast checker → · Palette generator →

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