#8F1386#8F1386

#8F1386 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.194 H 331.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8F1386
RGBrgb(143, 19, 134)
HSLhsl(304, 77%, 32%)
HSVhsv(304, 87%, 56%)
CMYKcmyk(0%, 86.7%, 6.3%, 43.9%)
CIE-LABlab(34.04, 59.60, -33.29)
CIE-LCHlch(34.04, 68.26, 330.81°)
OKLaboklab(45.74% 0.1708 -0.0918)
OKLCHoklch(45.74% 0.194 331.7)
XYZxyz(15.8637, 8.0280, 23.2637)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1386 #138F1C
analogous
#5A138F #8F1386 #8F1348
triadic
#8F1386 #868F13 #13868F
tetradic
#8F1386 #8F5A13 #138F1C #13488F
square
#8F1386 #8F5A13 #138F1C #13488F
split-complementary
#8F1386 #488F13 #138F5A
monochromatic
#230521 #590C53 #8F1386 #C51AB9 #E538D8

Accessibility & contrast

On white

8.06
#8F1386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1386
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1386#FFFFFF#000000##FFFFFF
##8F13861.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#415683
Tritanopia (blue-blind)
#95264F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1386;
/* rgb */ color: rgb(143, 19, 134);
/* oklch */ color: oklch(45.7% 0.194 331.7);
Tailwind
colors: {
  custom: {
    50: '#b465aa',
    500: '#8f1386',
    950: '#000000',
  },
}
SCSS
$custom: #8f1386;
$custom-light: #b465aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1386",
  "rgb": {
    "r": 143,
    "g": 19,
    "b": 134
  },
  "hsl": {
    "h": 304.355,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45737,
    "c": 0.19395,
    "h": 331.7
  },
  "luminance": 0.08027
}

Semantic roles & 50–950 ramp

primary
#8F1386
secondary
#3BC345
accent
#F34335
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120610
muted
#817A7F

Preview Lab

Preview with #8F1386

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

Preview Lab → · Contrast checker → · Palette generator →

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