#8F128D#8F128D

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

Color values

HEX#8F128D
RGBrgb(143, 18, 141)
HSLhsl(301, 78%, 32%)
HSVhsv(301, 87%, 56%)
CMYKcmyk(0%, 87.4%, 1.4%, 43.9%)
CIE-LABlab(34.39, 60.89, -37.07)
CIE-LCHlch(34.39, 71.29, 328.67°)
OKLaboklab(46.12% 0.1711 -0.1028)
OKLCHoklch(46.12% 0.2 329)
XYZxyz(16.3516, 8.1966, 25.9150)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F128D #128F14
analogous
#53128F #8F128D #8F124F
triadic
#8F128D #8D8F12 #128D8F
tetradic
#8F128D #8F5312 #128F14 #124F8F
square
#8F128D #8F5312 #128F14 #124F8F
split-complementary
#8F128D #4F8F12 #128F53
monochromatic
#220422 #590B57 #8F128D #C519C3 #E636E3

Accessibility & contrast

On white

7.96
#8F128D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F128D
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F128D#FFFFFF#000000##FFFFFF
##8F128D1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#942A53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f128d;
/* rgb */ color: rgb(143, 18, 141);
/* oklch */ color: oklch(46.1% 0.200 329.0);
Tailwind
colors: {
  custom: {
    50: '#b465af',
    500: '#8f128d',
    950: '#000000',
  },
}
SCSS
$custom: #8f128d;
$custom-light: #b465af;
$custom-dark: #000000;
JSON
{
  "hex": "#8f128d",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 141
  },
  "hsl": {
    "h": 300.96,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.46117,
    "c": 0.19963,
    "h": 329
  },
  "luminance": 0.08195
}

Semantic roles & 50–950 ramp

primary
#8F128D
secondary
#3AC33C
accent
#F43734
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F128D

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

Preview Lab → · Contrast checker → · Palette generator →

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