#8F147E#8F147E

#8F147E is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.188 H 335.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8F147E
RGBrgb(143, 20, 126)
HSLhsl(308, 75%, 32%)
HSVhsv(308, 86%, 56%)
CMYKcmyk(0%, 86%, 11.9%, 43.9%)
CIE-LABlab(33.66, 58.18, -28.89)
CIE-LCHlch(33.66, 64.96, 333.59°)
OKLaboklab(45.32% 0.1702 -0.0791)
OKLCHoklch(45.32% 0.188 335.1)
XYZxyz(15.3440, 7.8478, 20.4413)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F147E #148F25
analogous
#63148F #8F147E #8F1440
triadic
#8F147E #7E8F14 #147E8F
tetradic
#8F147E #8F6314 #148F25 #14408F
square
#8F147E #8F6314 #148F25 #14408F
split-complementary
#8F147E #408F14 #148F63
monochromatic
#24051F #590C4F #8F147E #C51CAD #E33ACC

Accessibility & contrast

On white

8.17
#8F147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8F147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F147E
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F147E#FFFFFF#000000##FFFFFF
##8F147E1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134481
Deuteranopia (green-blind)
#45557B
Tritanopia (blue-blind)
#96224B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f147e;
/* rgb */ color: rgb(143, 20, 126);
/* oklch */ color: oklch(45.3% 0.188 335.1);
Tailwind
colors: {
  custom: {
    50: '#b465a4',
    500: '#8f147e',
    950: '#000000',
  },
}
SCSS
$custom: #8f147e;
$custom-light: #b465a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f147e",
  "rgb": {
    "r": 143,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 308.293,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45323,
    "c": 0.18766,
    "h": 335.1
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

primary
#8F147E
secondary
#3CC34F
accent
#F25036
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F147E

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

Preview Lab → · Contrast checker → · Palette generator →

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