#8F137C#8F137C

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

Color values

HEX#8F137C
RGBrgb(143, 19, 124)
HSLhsl(309, 77%, 32%)
HSVhsv(309, 87%, 56%)
CMYKcmyk(0%, 86.7%, 13.3%, 43.9%)
CIE-LABlab(33.48, 58.10, -27.92)
CIE-LCHlch(33.48, 64.47, 334.33°)
OKLaboklab(45.16% 0.1707 -0.0763)
OKLCHoklch(45.16% 0.187 335.9)
XYZxyz(15.1989, 7.7621, 19.7627)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F137C #138F26
analogous
#64138F #8F137C #8F133E
triadic
#8F137C #7C8F13 #137C8F
tetradic
#8F137C #8F6413 #138F26 #133E8F
square
#8F137C #8F6413 #138F26 #133E8F
split-complementary
#8F137C #3E8F13 #138F64
monochromatic
#23051E #590C4D #8F137C #C51AAB #E538CA

Accessibility & contrast

On white

8.23
#8F137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8F137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F137C
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F137C#FFFFFF#000000##FFFFFF
##8F137C1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f137c;
/* rgb */ color: rgb(143, 19, 124);
/* oklch */ color: oklch(45.2% 0.187 335.9);
Tailwind
colors: {
  custom: {
    50: '#b464a2',
    500: '#8f137c',
    950: '#000000',
  },
}
SCSS
$custom: #8f137c;
$custom-light: #b464a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f137c",
  "rgb": {
    "r": 143,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 309.194,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45159,
    "c": 0.18701,
    "h": 335.9
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#8F137C
secondary
#3BC350
accent
#F35235
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F137C

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

Preview Lab → · Contrast checker → · Palette generator →

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