#8F1F89#8F1F89

#8F1F89 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.186 H 330.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8F1F89
RGBrgb(143, 31, 137)
HSLhsl(303, 64%, 34%)
HSVhsv(303, 78%, 56%)
CMYKcmyk(0%, 78.3%, 4.2%, 43.9%)
CIE-LABlab(35.26, 57.05, -33.22)
CIE-LCHlch(35.26, 66.01, 329.79°)
OKLaboklab(46.66% 0.1621 -0.0917)
OKLCHoklch(46.66% 0.186 330.5)
XYZxyz(16.3330, 8.6271, 24.4670)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F89 #1F8F25
analogous
#5D1F8F #8F1F89 #8F1F51
triadic
#8F1F89 #898F1F #1F898F
tetradic
#8F1F89 #8F5D1F #1F8F25 #1F518F
square
#8F1F89 #8F5D1F #1F8F25 #1F518F
split-complementary
#8F1F89 #518F1F #1F8F5D
monochromatic
#2A0929 #5D1459 #8F1F89 #C12AB9 #D94FD2

Accessibility & contrast

On white

7.71
#8F1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8F1F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F89
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F89#FFFFFF#000000##FFFFFF
##8F1F891.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10498C
Deuteranopia (green-blind)
#435886
Tritanopia (blue-blind)
#952F53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f1f89;
/* rgb */ color: rgb(143, 31, 137);
/* oklch */ color: oklch(46.7% 0.186 330.5);
Tailwind
colors: {
  custom: {
    50: '#b369ac',
    500: '#8f1f89',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f89;
$custom-light: #b369ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f89",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 303.214,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46658,
    "c": 0.18622,
    "h": 330.5
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#8F1F89
secondary
#4EBC54
accent
#E74940
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F1F89

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

Preview Lab → · Contrast checker → · Palette generator →

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