#8F1587#8F1587

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

Color values

HEX#8F1587
RGBrgb(143, 21, 135)
HSLhsl(304, 74%, 32%)
HSVhsv(304, 85%, 56%)
CMYKcmyk(0%, 85.3%, 5.6%, 43.9%)
CIE-LABlab(34.25, 59.32, -33.58)
CIE-LCHlch(34.25, 68.17, 330.49°)
OKLaboklab(45.9% 0.1696 -0.0927)
OKLCHoklch(45.9% 0.193 331.3)
XYZxyz(15.9690, 8.1266, 23.6445)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1587 #158F1D
analogous
#5A158F #8F1587 #8F154A
triadic
#8F1587 #878F15 #15878F
tetradic
#8F1587 #8F5A15 #158F1D #154A8F
square
#8F1587 #8F5A15 #158F1D #154A8F
split-complementary
#8F1587 #4A8F15 #158F5A
monochromatic
#240522 #5A0D55 #8F1587 #C41DB9 #E23CD7

Accessibility & contrast

On white

8.00
#8F1587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8F1587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1587
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1587#FFFFFF#000000##FFFFFF
##8F15871.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#415684
Tritanopia (blue-blind)
#952850
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1587;
/* rgb */ color: rgb(143, 21, 135);
/* oklch */ color: oklch(45.9% 0.193 331.3);
Tailwind
colors: {
  custom: {
    50: '#b465aa',
    500: '#8f1587',
    950: '#000000',
  },
}
SCSS
$custom: #8f1587;
$custom-light: #b465aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1587",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 135
  },
  "hsl": {
    "h": 303.934,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45901,
    "c": 0.19327,
    "h": 331.3
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

primary
#8F1587
secondary
#3EC246
accent
#F14337
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1587

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

Preview Lab → · Contrast checker → · Palette generator →

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