#8F147F#8F147F

#8F147F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.188 H 334.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8F147F
RGBrgb(143, 20, 127)
HSLhsl(308, 75%, 32%)
HSVhsv(308, 86%, 56%)
CMYKcmyk(0%, 86%, 11.2%, 43.9%)
CIE-LABlab(33.72, 58.33, -29.43)
CIE-LCHlch(33.72, 65.34, 333.23°)
OKLaboklab(45.38% 0.1702 -0.0807)
OKLCHoklch(45.38% 0.188 334.6)
XYZxyz(15.4088, 7.8737, 20.7828)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F147F #148F24
analogous
#62148F #8F147F #8F1442
triadic
#8F147F #7F8F14 #147F8F
tetradic
#8F147F #8F6214 #148F24 #14428F
square
#8F147F #8F6214 #148F24 #14428F
split-complementary
#8F147F #428F14 #148F62
monochromatic
#240520 #590C4F #8F147F #C51CAF #E33ACD

Accessibility & contrast

On white

8.16
#8F147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F147F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F147F#FFFFFF#000000##FFFFFF
##8F147F1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114482
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#96224B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f147f;
/* rgb */ color: rgb(143, 20, 127);
/* oklch */ color: oklch(45.4% 0.188 334.6);
Tailwind
colors: {
  custom: {
    50: '#b465a4',
    500: '#8f147f',
    950: '#000000',
  },
}
SCSS
$custom: #8f147f;
$custom-light: #b465a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f147f",
  "rgb": {
    "r": 143,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 307.805,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4538,
    "c": 0.18834,
    "h": 334.6
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#8F147F
secondary
#3CC34E
accent
#F24E36
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F147F

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

Preview Lab → · Contrast checker → · Palette generator →

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