#8F1F87#8F1F87

#8F1F87 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.185 H 331.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8F1F87
RGBrgb(143, 31, 135)
HSLhsl(304, 64%, 34%)
HSVhsv(304, 78%, 56%)
CMYKcmyk(0%, 78.3%, 5.6%, 43.9%)
CIE-LABlab(35.14, 56.73, -32.16)
CIE-LCHlch(35.14, 65.21, 330.45°)
OKLaboklab(46.54% 0.1621 -0.0887)
OKLCHoklch(46.54% 0.185 331.3)
XYZxyz(16.1909, 8.5702, 23.7185)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F87 #1F8F27
analogous
#5F1F8F #8F1F87 #8F1F4F
triadic
#8F1F87 #878F1F #1F878F
tetradic
#8F1F87 #8F5F1F #1F8F27 #1F4F8F
square
#8F1F87 #8F5F1F #1F8F27 #1F4F8F
split-complementary
#8F1F87 #4F8F1F #1F8F5F
monochromatic
#2A0928 #5D1458 #8F1F87 #C12AB6 #D94FCF

Accessibility & contrast

On white

7.74
#8F1F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8F1F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F87
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F87#FFFFFF#000000##FFFFFF
##8F1F871.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498A
Deuteranopia (green-blind)
#445884
Tritanopia (blue-blind)
#952E52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f1f87;
/* rgb */ color: rgb(143, 31, 135);
/* oklch */ color: oklch(46.5% 0.185 331.3);
Tailwind
colors: {
  custom: {
    50: '#b369aa',
    500: '#8f1f87',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f87;
$custom-light: #b369aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f87",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 304.286,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46541,
    "c": 0.18471,
    "h": 331.3
  },
  "luminance": 0.08569
}

Semantic roles & 50–950 ramp

primary
#8F1F87
secondary
#4EBC56
accent
#E74C40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F1F87

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

Preview Lab → · Contrast checker → · Palette generator →

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