#8F1D87#8F1D87

#8F1D87 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.187 H 331.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8F1D87
RGBrgb(143, 29, 135)
HSLhsl(304, 66%, 34%)
HSVhsv(304, 80%, 56%)
CMYKcmyk(0%, 79.7%, 5.6%, 43.9%)
CIE-LABlab(34.94, 57.31, -32.48)
CIE-LCHlch(34.94, 65.87, 330.46°)
OKLaboklab(46.4% 0.1637 -0.0896)
OKLCHoklch(46.4% 0.187 331.3)
XYZxyz(16.1402, 8.4690, 23.7016)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D87 #1D8F25
analogous
#5E1D8F #8F1D87 #8F1D4E
triadic
#8F1D87 #878F1D #1D878F
tetradic
#8F1D87 #8F5E1D #1D8F25 #1D4E8F
square
#8F1D87 #8F5E1D #1D8F25 #1D4E8F
split-complementary
#8F1D87 #4E8F1D #1D8F5E
monochromatic
#290827 #5C1357 #8F1D87 #C227B7 #DB4CD1

Accessibility & contrast

On white

7.80
#8F1D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8F1D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D87
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D87#FFFFFF#000000##FFFFFF
##8F1D871.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10488A
Deuteranopia (green-blind)
#435884
Tritanopia (blue-blind)
#952C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f1d87;
/* rgb */ color: rgb(143, 29, 135);
/* oklch */ color: oklch(46.4% 0.187 331.3);
Tailwind
colors: {
  custom: {
    50: '#b368aa',
    500: '#8f1d87',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d87;
$custom-light: #b368aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d87",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 304.211,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46396,
    "c": 0.18663,
    "h": 331.3
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#8F1D87
secondary
#4BBD53
accent
#E94B3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F1D87

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

Preview Lab → · Contrast checker → · Palette generator →

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