#8F1789#8F1789

#8F1789 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.193 H 330.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8F1789
RGBrgb(143, 23, 137)
HSLhsl(303, 72%, 33%)
HSVhsv(303, 84%, 56%)
CMYKcmyk(0%, 83.9%, 4.2%, 43.9%)
CIE-LABlab(34.52, 59.18, -34.39)
CIE-LCHlch(34.52, 68.45, 329.84°)
OKLaboklab(46.13% 0.1682 -0.0951)
OKLCHoklch(46.13% 0.193 330.5)
XYZxyz(16.1494, 8.2599, 24.4058)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1789 #178F1D
analogous
#59178F #8F1789 #8F174D
triadic
#8F1789 #898F17 #17898F
tetradic
#8F1789 #8F5917 #178F1D #174D8F
square
#8F1789 #8F5917 #178F1D #174D8F
split-complementary
#8F1789 #4D8F17 #178F59
monochromatic
#260624 #5A0F56 #8F1789 #C41FBC #E040D8

Accessibility & contrast

On white

7.92
#8F1789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8F1789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1789
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1789#FFFFFF#000000##FFFFFF
##8F17891.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#405786
Tritanopia (blue-blind)
#952A51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1789;
/* rgb */ color: rgb(143, 23, 137);
/* oklch */ color: oklch(46.1% 0.193 330.5);
Tailwind
colors: {
  custom: {
    50: '#b466ac',
    500: '#8f1789',
    950: '#000000',
  },
}
SCSS
$custom: #8f1789;
$custom-light: #b466ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1789",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 303,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46132,
    "c": 0.19322,
    "h": 330.5
  },
  "luminance": 0.08259
}

Semantic roles & 50–950 ramp

primary
#8F1789
secondary
#41C147
accent
#EF4239
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1789

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

Preview Lab → · Contrast checker → · Palette generator →

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