#8F1486#8F1486

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

Color values

HEX#8F1486
RGBrgb(143, 20, 134)
HSLhsl(304, 75%, 32%)
HSVhsv(304, 86%, 56%)
CMYKcmyk(0%, 86%, 6.3%, 43.9%)
CIE-LABlab(34.11, 59.39, -33.17)
CIE-LCHlch(34.11, 68.02, 330.81°)
OKLaboklab(45.79% 0.1702 -0.0915)
OKLCHoklch(45.79% 0.193 331.7)
XYZxyz(15.8810, 8.0626, 23.2695)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1486 #148F1D
analogous
#5B148F #8F1486 #8F1449
triadic
#8F1486 #868F14 #14868F
tetradic
#8F1486 #8F5B14 #148F1D #14498F
square
#8F1486 #8F5B14 #148F1D #14498F
split-complementary
#8F1486 #498F14 #148F5B
monochromatic
#240521 #590C54 #8F1486 #C51CB8 #E33AD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F1486#FFFFFF#000000##FFFFFF
##8F14861.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)
#014689
Deuteranopia (green-blind)
#415683
Tritanopia (blue-blind)
#95274F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1486;
/* rgb */ color: rgb(143, 20, 134);
/* oklch */ color: oklch(45.8% 0.193 331.7);
Tailwind
colors: {
  custom: {
    50: '#b465aa',
    500: '#8f1486',
    950: '#000000',
  },
}
SCSS
$custom: #8f1486;
$custom-light: #b465aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1486",
  "rgb": {
    "r": 143,
    "g": 20,
    "b": 134
  },
  "hsl": {
    "h": 304.39,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45788,
    "c": 0.19327,
    "h": 331.7
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#8F1486
secondary
#3CC346
accent
#F24436
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1486

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

Preview Lab → · Contrast checker → · Palette generator →

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