#8F128C#8F128C

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

Color values

HEX#8F128C
RGBrgb(143, 18, 140)
HSLhsl(301, 78%, 32%)
HSVhsv(301, 87%, 56%)
CMYKcmyk(0%, 87.4%, 2.1%, 43.9%)
CIE-LABlab(34.33, 60.73, -36.55)
CIE-LCHlch(34.33, 70.88, 328.96°)
OKLaboklab(46.06% 0.1712 -0.1013)
OKLCHoklch(46.06% 0.199 329.4)
XYZxyz(16.2775, 8.1670, 25.5249)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F128C #128F15
analogous
#54128F #8F128C #8F124E
triadic
#8F128C #8C8F12 #128C8F
tetradic
#8F128C #8F5412 #128F15 #124E8F
square
#8F128C #8F5412 #128F15 #124E8F
split-complementary
#8F128C #4E8F12 #128F54
monochromatic
#220422 #590B57 #8F128C #C519C1 #E636E1

Accessibility & contrast

On white

7.98
#8F128C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8F128C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F128C
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F128C#FFFFFF#000000##FFFFFF
##8F128C1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f128c;
/* rgb */ color: rgb(143, 18, 140);
/* oklch */ color: oklch(46.1% 0.199 329.4);
Tailwind
colors: {
  custom: {
    50: '#b465ae',
    500: '#8f128c',
    950: '#000000',
  },
}
SCSS
$custom: #8f128c;
$custom-light: #b465ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8f128c",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 140
  },
  "hsl": {
    "h": 301.44,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.46055,
    "c": 0.19891,
    "h": 329.4
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#8F128C
secondary
#3AC33D
accent
#F43834
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F128C

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

Preview Lab → · Contrast checker → · Palette generator →

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