#8F1288#8F1288

#8F1288 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.196 H 330.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8F1288
RGBrgb(143, 18, 136)
HSLhsl(303, 78%, 32%)
HSVhsv(303, 87%, 56%)
CMYKcmyk(0%, 87.4%, 4.9%, 43.9%)
CIE-LABlab(34.09, 60.11, -34.45)
CIE-LCHlch(34.09, 69.28, 330.18°)
OKLaboklab(45.81% 0.1714 -0.0952)
OKLCHoklch(45.81% 0.196 330.9)
XYZxyz(15.9879, 8.0512, 23.9998)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1288 #128F19
analogous
#58128F #8F1288 #8F124A
triadic
#8F1288 #888F12 #12888F
tetradic
#8F1288 #8F5812 #128F19 #124A8F
square
#8F1288 #8F5812 #128F19 #124A8F
split-complementary
#8F1288 #4A8F12 #128F58
monochromatic
#220421 #590B54 #8F1288 #C519BC #E636DC

Accessibility & contrast

On white

8.05
#8F1288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8F1288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1288
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1288#FFFFFF#000000##FFFFFF
##8F12881.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#3F5685
Tritanopia (blue-blind)
#952750
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1288;
/* rgb */ color: rgb(143, 18, 136);
/* oklch */ color: oklch(45.8% 0.196 330.9);
Tailwind
colors: {
  custom: {
    50: '#b465ab',
    500: '#8f1288',
    950: '#000000',
  },
}
SCSS
$custom: #8f1288;
$custom-light: #b465ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1288",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 136
  },
  "hsl": {
    "h": 303.36,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45809,
    "c": 0.19604,
    "h": 330.9
  },
  "luminance": 0.0805
}

Semantic roles & 50–950 ramp

primary
#8F1288
secondary
#3AC341
accent
#F43E34
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120610
muted
#817A7F

Preview Lab

Preview with #8F1288

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

Preview Lab → · Contrast checker → · Palette generator →

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