#8F147C#8F147C

#8F147C is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.186 H 335.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8F147C
RGBrgb(143, 20, 124)
HSLhsl(309, 75%, 32%)
HSVhsv(309, 86%, 56%)
CMYKcmyk(0%, 86%, 13.3%, 43.9%)
CIE-LABlab(33.56, 57.89, -27.81)
CIE-LCHlch(33.56, 64.22, 334.34°)
OKLaboklab(45.21% 0.1701 -0.076)
OKLCHoklch(45.21% 0.186 335.9)
XYZxyz(15.2162, 7.7967, 19.7684)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F147C #148F27
analogous
#65148F #8F147C #8F143F
triadic
#8F147C #7C8F14 #147C8F
tetradic
#8F147C #8F6514 #148F27 #143F8F
square
#8F147C #8F6514 #148F27 #143F8F
split-complementary
#8F147C #3F8F14 #148F65
monochromatic
#24051F #590C4D #8F147C #C51CAB #E33AC9

Accessibility & contrast

On white

8.21
#8F147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8F147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F147C
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F147C#FFFFFF#000000##FFFFFF
##8F147C1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16437F
Deuteranopia (green-blind)
#465579
Tritanopia (blue-blind)
#972049
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f147c;
/* rgb */ color: rgb(143, 20, 124);
/* oklch */ color: oklch(45.2% 0.186 335.9);
Tailwind
colors: {
  custom: {
    50: '#b464a2',
    500: '#8f147c',
    950: '#000000',
  },
}
SCSS
$custom: #8f147c;
$custom-light: #b464a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f147c",
  "rgb": {
    "r": 143,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 309.268,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45211,
    "c": 0.18629,
    "h": 335.9
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

primary
#8F147C
secondary
#3CC351
accent
#F25336
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F147C

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

Preview Lab → · Contrast checker → · Palette generator →

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