#8F147D#8F147D

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

Color values

HEX#8F147D
RGBrgb(143, 20, 125)
HSLhsl(309, 75%, 32%)
HSVhsv(309, 86%, 56%)
CMYKcmyk(0%, 86%, 12.6%, 43.9%)
CIE-LABlab(33.61, 58.04, -28.35)
CIE-LCHlch(33.61, 64.59, 333.96°)
OKLaboklab(45.27% 0.1701 -0.0776)
OKLCHoklch(45.27% 0.187 335.5)
XYZxyz(15.2798, 7.8221, 20.1032)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F147D #148F26
analogous
#63148F #8F147D #8F1440
triadic
#8F147D #7D8F14 #147D8F
tetradic
#8F147D #8F6314 #148F26 #14408F
square
#8F147D #8F6314 #148F26 #14408F
split-complementary
#8F147D #408F14 #148F63
monochromatic
#24051F #590C4E #8F147D #C51CAC #E33ACB

Accessibility & contrast

On white

8.19
#8F147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F147D
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F147D#FFFFFF#000000##FFFFFF
##8F147D1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144480
Deuteranopia (green-blind)
#45557A
Tritanopia (blue-blind)
#97214A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f147d;
/* rgb */ color: rgb(143, 20, 125);
/* oklch */ color: oklch(45.3% 0.187 335.5);
Tailwind
colors: {
  custom: {
    50: '#b465a3',
    500: '#8f147d',
    950: '#000000',
  },
}
SCSS
$custom: #8f147d;
$custom-light: #b465a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f147d",
  "rgb": {
    "r": 143,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 308.78,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45267,
    "c": 0.18698,
    "h": 335.5
  },
  "luminance": 0.07821
}

Semantic roles & 50–950 ramp

primary
#8F147D
secondary
#3CC350
accent
#F25136
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F147D

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

Preview Lab → · Contrast checker → · Palette generator →

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