#8F1287#8F1287

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

Color values

HEX#8F1287
RGBrgb(143, 18, 135)
HSLhsl(304, 78%, 32%)
HSVhsv(304, 87%, 56%)
CMYKcmyk(0%, 87.4%, 5.6%, 43.9%)
CIE-LABlab(34.03, 59.95, -33.92)
CIE-LCHlch(34.03, 68.88, 330.50°)
OKLaboklab(45.75% 0.1714 -0.0937)
OKLCHoklch(45.75% 0.195 331.3)
XYZxyz(15.9172, 8.0229, 23.6272)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1287 #128F1A
analogous
#59128F #8F1287 #8F1249
triadic
#8F1287 #878F12 #12878F
tetradic
#8F1287 #8F5912 #128F1A #12498F
square
#8F1287 #8F5912 #128F1A #12498F
split-complementary
#8F1287 #498F12 #128F59
monochromatic
#220420 #590B54 #8F1287 #C519BA #E636DA

Accessibility & contrast

On white

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

On black

2.60
#8F1287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8F1287#FFFFFF#000000##FFFFFF
##8F12871.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#405684
Tritanopia (blue-blind)
#95274F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1287;
/* rgb */ color: rgb(143, 18, 135);
/* oklch */ color: oklch(45.7% 0.195 331.3);
Tailwind
colors: {
  custom: {
    50: '#b465aa',
    500: '#8f1287',
    950: '#000000',
  },
}
SCSS
$custom: #8f1287;
$custom-light: #b465aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1287",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 135
  },
  "hsl": {
    "h": 303.84,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45748,
    "c": 0.19533,
    "h": 331.3
  },
  "luminance": 0.08022
}

Semantic roles & 50–950 ramp

primary
#8F1287
secondary
#3AC342
accent
#F44034
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120610
muted
#817A7F

Preview Lab

Preview with #8F1287

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

Preview Lab → · Contrast checker → · Palette generator →

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