#8F1788#8F1788

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

Color values

HEX#8F1788
RGBrgb(143, 23, 136)
HSLhsl(304, 72%, 33%)
HSVhsv(304, 84%, 56%)
CMYKcmyk(0%, 83.9%, 4.9%, 43.9%)
CIE-LABlab(34.46, 59.02, -33.86)
CIE-LCHlch(34.46, 68.05, 330.16°)
OKLaboklab(46.07% 0.1682 -0.0935)
OKLCHoklch(46.07% 0.193 330.9)
XYZxyz(16.0780, 8.2314, 24.0298)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1788 #178F1E
analogous
#5A178F #8F1788 #8F174C
triadic
#8F1788 #888F17 #17888F
tetradic
#8F1788 #8F5A17 #178F1E #174C8F
square
#8F1788 #8F5A17 #178F1E #174C8F
split-complementary
#8F1788 #4C8F17 #178F5A
monochromatic
#260624 #5A0F56 #8F1788 #C41FBA #E040D7

Accessibility & contrast

On white

7.94
#8F1788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1788
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1788#FFFFFF#000000##FFFFFF
##8F17881.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01478B
Deuteranopia (green-blind)
#415785
Tritanopia (blue-blind)
#952A51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1788;
/* rgb */ color: rgb(143, 23, 136);
/* oklch */ color: oklch(46.1% 0.193 330.9);
Tailwind
colors: {
  custom: {
    50: '#b466ab',
    500: '#8f1788',
    950: '#000000',
  },
}
SCSS
$custom: #8f1788;
$custom-light: #b466ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1788",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 303.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46072,
    "c": 0.1925,
    "h": 330.9
  },
  "luminance": 0.0823
}

Semantic roles & 50–950 ramp

primary
#8F1788
secondary
#41C149
accent
#EF4339
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1788

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

Preview Lab → · Contrast checker → · Palette generator →

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