#8F1588#8F1588

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

Color values

HEX#8F1588
RGBrgb(143, 21, 136)
HSLhsl(303, 74%, 32%)
HSVhsv(303, 85%, 56%)
CMYKcmyk(0%, 85.3%, 4.9%, 43.9%)
CIE-LABlab(34.30, 59.48, -34.11)
CIE-LCHlch(34.30, 68.57, 330.17°)
OKLaboklab(45.96% 0.1696 -0.0942)
OKLCHoklch(45.96% 0.194 330.9)
XYZxyz(16.0398, 8.1549, 24.0171)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1588 #158F1C
analogous
#59158F #8F1588 #8F154B
triadic
#8F1588 #888F15 #15888F
tetradic
#8F1588 #8F5915 #158F1C #154B8F
square
#8F1588 #8F5915 #158F1C #154B8F
split-complementary
#8F1588 #4B8F15 #158F59
monochromatic
#240522 #5A0D55 #8F1588 #C41DBB #E23CD9

Accessibility & contrast

On white

7.98
#8F1588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8F1588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1588
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1588#FFFFFF#000000##FFFFFF
##8F15881.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#405685
Tritanopia (blue-blind)
#952951
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1588;
/* rgb */ color: rgb(143, 21, 136);
/* oklch */ color: oklch(46.0% 0.194 330.9);
Tailwind
colors: {
  custom: {
    50: '#b465ab',
    500: '#8f1588',
    950: '#000000',
  },
}
SCSS
$custom: #8f1588;
$custom-light: #b465ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1588",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 136
  },
  "hsl": {
    "h": 303.443,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45961,
    "c": 0.19399,
    "h": 330.9
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#8F1588
secondary
#3EC245
accent
#F14137
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1588

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

Preview Lab → · Contrast checker → · Palette generator →

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