#8F1D86#8F1D86

#8F1D86 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.186 H 331.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8F1D86
RGBrgb(143, 29, 134)
HSLhsl(305, 66%, 34%)
HSVhsv(305, 80%, 56%)
CMYKcmyk(0%, 79.7%, 6.3%, 43.9%)
CIE-LABlab(34.88, 57.15, -31.95)
CIE-LCHlch(34.88, 65.47, 330.79°)
OKLaboklab(46.34% 0.1637 -0.088)
OKLCHoklch(46.34% 0.186 331.7)
XYZxyz(16.0702, 8.4409, 23.3325)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D86 #1D8F26
analogous
#5F1D8F #8F1D86 #8F1D4D
triadic
#8F1D86 #868F1D #1D868F
tetradic
#8F1D86 #8F5F1D #1D8F26 #1D4D8F
square
#8F1D86 #8F5F1D #1D8F26 #1D4D8F
split-complementary
#8F1D86 #4D8F1D #1D8F5F
monochromatic
#290827 #5C1356 #8F1D86 #C227B6 #DB4CCF

Accessibility & contrast

On white

7.81
#8F1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1D86
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D86#FFFFFF#000000##FFFFFF
##8F1D861.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124889
Deuteranopia (green-blind)
#445883
Tritanopia (blue-blind)
#952C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f1d86;
/* rgb */ color: rgb(143, 29, 134);
/* oklch */ color: oklch(46.3% 0.186 331.7);
Tailwind
colors: {
  custom: {
    50: '#b368a9',
    500: '#8f1d86',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d86;
$custom-light: #b368a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d86",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 304.737,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46338,
    "c": 0.18589,
    "h": 331.7
  },
  "luminance": 0.0844
}

Semantic roles & 50–950 ramp

primary
#8F1D86
secondary
#4BBD54
accent
#E94C3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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