#8F1286#8F1286

#8F1286 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.195 H 331.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8F1286
RGBrgb(143, 18, 134)
HSLhsl(304, 78%, 32%)
HSVhsv(304, 87%, 56%)
CMYKcmyk(0%, 87.4%, 6.3%, 43.9%)
CIE-LABlab(33.97, 59.80, -33.40)
CIE-LCHlch(33.97, 68.49, 330.82°)
OKLaboklab(45.69% 0.1714 -0.0922)
OKLCHoklch(45.69% 0.195 331.7)
XYZxyz(15.8471, 7.9949, 23.2582)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1286 #128F1B
analogous
#5A128F #8F1286 #8F1248
triadic
#8F1286 #868F12 #12868F
tetradic
#8F1286 #8F5A12 #128F1B #12488F
square
#8F1286 #8F5A12 #128F1B #12488F
split-complementary
#8F1286 #488F12 #128F5A
monochromatic
#220420 #590B53 #8F1286 #C519B9 #E636D9

Accessibility & contrast

On white

8.08
#8F1286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8F1286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1286
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1286#FFFFFF#000000##FFFFFF
##8F12861.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#405683
Tritanopia (blue-blind)
#95264F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1286;
/* rgb */ color: rgb(143, 18, 134);
/* oklch */ color: oklch(45.7% 0.195 331.7);
Tailwind
colors: {
  custom: {
    50: '#b464aa',
    500: '#8f1286',
    950: '#000000',
  },
}
SCSS
$custom: #8f1286;
$custom-light: #b464aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1286",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 134
  },
  "hsl": {
    "h": 304.32,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45688,
    "c": 0.19462,
    "h": 331.7
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#8F1286
secondary
#3AC344
accent
#F44234
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120610
muted
#817A7F

Preview Lab

Preview with #8F1286

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

Preview Lab → · Contrast checker → · Palette generator →

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