#8F1A87#8F1A87

#8F1A87 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.189 H 331.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8F1A87
RGBrgb(143, 26, 135)
HSLhsl(304, 69%, 33%)
HSVhsv(304, 82%, 56%)
CMYKcmyk(0%, 81.8%, 5.6%, 43.9%)
CIE-LABlab(34.66, 58.12, -32.93)
CIE-LCHlch(34.66, 66.80, 330.47°)
OKLaboklab(46.2% 0.1661 -0.0908)
OKLCHoklch(46.2% 0.189 331.3)
XYZxyz(16.0703, 8.3290, 23.6783)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A87 #1A8F22
analogous
#5D1A8F #8F1A87 #8F1A4C
triadic
#8F1A87 #878F1A #1A878F
tetradic
#8F1A87 #8F5D1A #1A8F22 #1A4C8F
square
#8F1A87 #8F5D1A #1A8F22 #1A4C8F
split-complementary
#8F1A87 #4C8F1A #1A8F5D
monochromatic
#270725 #5B1156 #8F1A87 #C323B8 #DD46D3

Accessibility & contrast

On white

7.88
#8F1A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8F1A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1A87
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A87#FFFFFF#000000##FFFFFF
##8F1A871.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A478A
Deuteranopia (green-blind)
#425784
Tritanopia (blue-blind)
#952B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1a87;
/* rgb */ color: rgb(143, 26, 135);
/* oklch */ color: oklch(46.2% 0.189 331.3);
Tailwind
colors: {
  custom: {
    50: '#b467aa',
    500: '#8f1a87',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a87;
$custom-light: #b467aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a87",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 304.103,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46195,
    "c": 0.18932,
    "h": 331.3
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#8F1A87
secondary
#46BF4E
accent
#EC483C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1A87

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

Preview Lab → · Contrast checker → · Palette generator →

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