#8F148B#8F148B

#8F148B is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.1% C 0.197 H 329.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8F148B
RGBrgb(143, 20, 139)
HSLhsl(302, 75%, 32%)
HSVhsv(302, 86%, 56%)
CMYKcmyk(0%, 86%, 2.8%, 43.9%)
CIE-LABlab(34.41, 60.17, -35.80)
CIE-LCHlch(34.41, 70.01, 329.24°)
OKLaboklab(46.09% 0.1701 -0.0992)
OKLCHoklch(46.09% 0.197 329.8)
XYZxyz(16.2380, 8.2054, 25.1497)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F148B #148F18
analogous
#56148F #8F148B #8F144E
triadic
#8F148B #8B8F14 #148B8F
tetradic
#8F148B #8F5614 #148F18 #144E8F
square
#8F148B #8F5614 #148F18 #144E8F
split-complementary
#8F148B #4E8F14 #148F56
monochromatic
#240523 #590C57 #8F148B #C51CBF #E33ADE

Accessibility & contrast

On white

7.95
#8F148B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F148B
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F148B#FFFFFF#000000##FFFFFF
##8F148B1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#3E5688
Tritanopia (blue-blind)
#942A52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f148b;
/* rgb */ color: rgb(143, 20, 139);
/* oklch */ color: oklch(46.1% 0.197 329.8);
Tailwind
colors: {
  custom: {
    50: '#b465ad',
    500: '#8f148b',
    950: '#000000',
  },
}
SCSS
$custom: #8f148b;
$custom-light: #b465ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8f148b",
  "rgb": {
    "r": 143,
    "g": 20,
    "b": 139
  },
  "hsl": {
    "h": 301.951,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.46091,
    "c": 0.19687,
    "h": 329.8
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#8F148B
secondary
#3CC340
accent
#F23C36
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F148B

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

Preview Lab → · Contrast checker → · Palette generator →

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