#8F148A#8F148A

#8F148A is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.196 H 330.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8F148A
RGBrgb(143, 20, 138)
HSLhsl(302, 75%, 32%)
HSVhsv(302, 86%, 56%)
CMYKcmyk(0%, 86%, 3.5%, 43.9%)
CIE-LABlab(34.35, 60.01, -35.28)
CIE-LCHlch(34.35, 69.61, 329.55°)
OKLaboklab(46.03% 0.1701 -0.0976)
OKLCHoklch(46.03% 0.196 330.1)
XYZxyz(16.1652, 8.1763, 24.7666)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F148A #148F19
analogous
#57148F #8F148A #8F144D
triadic
#8F148A #8A8F14 #148A8F
tetradic
#8F148A #8F5714 #148F19 #144D8F
square
#8F148A #8F5714 #148F19 #144D8F
split-complementary
#8F148A #4D8F14 #148F57
monochromatic
#240522 #590C56 #8F148A #C51CBE #E33ADD

Accessibility & contrast

On white

7.97
#8F148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8F148A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F148A
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F148A#FFFFFF#000000##FFFFFF
##8F148A1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#3F5687
Tritanopia (blue-blind)
#952952
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f148a;
/* rgb */ color: rgb(143, 20, 138);
/* oklch */ color: oklch(46.0% 0.196 330.1);
Tailwind
colors: {
  custom: {
    50: '#b465ac',
    500: '#8f148a',
    950: '#000000',
  },
}
SCSS
$custom: #8f148a;
$custom-light: #b465ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f148a",
  "rgb": {
    "r": 143,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 302.439,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4603,
    "c": 0.19614,
    "h": 330.1
  },
  "luminance": 0.08175
}

Semantic roles & 50–950 ramp

primary
#8F148A
secondary
#3CC342
accent
#F23D36
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F148A

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

Preview Lab → · Contrast checker → · Palette generator →

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