#8F147B#8F147B

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

Color values

HEX#8F147B
RGBrgb(143, 20, 123)
HSLhsl(310, 75%, 32%)
HSVhsv(310, 86%, 56%)
CMYKcmyk(0%, 86%, 14%, 43.9%)
CIE-LABlab(33.50, 57.75, -27.26)
CIE-LCHlch(33.50, 63.86, 334.73°)
OKLaboklab(45.16% 0.17 -0.0745)
OKLCHoklch(45.16% 0.186 336.3)
XYZxyz(15.1533, 7.7715, 19.4370)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F147B #148F28
analogous
#66148F #8F147B #8F143E
triadic
#8F147B #7B8F14 #147B8F
tetradic
#8F147B #8F6614 #148F28 #143E8F
square
#8F147B #8F6614 #148F28 #143E8F
split-complementary
#8F147B #3E8F14 #148F66
monochromatic
#24051F #590C4D #8F147B #C51CA9 #E33AC8

Accessibility & contrast

On white

8.22
#8F147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F147B
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F147B#FFFFFF#000000##FFFFFF
##8F147B1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437E
Deuteranopia (green-blind)
#465578
Tritanopia (blue-blind)
#972049
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f147b;
/* rgb */ color: rgb(143, 20, 123);
/* oklch */ color: oklch(45.2% 0.186 336.3);
Tailwind
colors: {
  custom: {
    50: '#b464a1',
    500: '#8f147b',
    950: '#000000',
  },
}
SCSS
$custom: #8f147b;
$custom-light: #b464a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f147b",
  "rgb": {
    "r": 143,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 309.756,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45156,
    "c": 0.18561,
    "h": 336.3
  },
  "luminance": 0.0777
}

Semantic roles & 50–950 ramp

primary
#8F147B
secondary
#3CC352
accent
#F25436
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060F
muted
#817A7E

Preview Lab

Preview with #8F147B

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

Preview Lab → · Contrast checker → · Palette generator →

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