#8F1C86#8F1C86

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

Color values

HEX#8F1C86
RGBrgb(143, 28, 134)
HSLhsl(305, 67%, 34%)
HSVhsv(305, 80%, 56%)
CMYKcmyk(0%, 80.4%, 6.3%, 43.9%)
CIE-LABlab(34.79, 57.43, -32.10)
CIE-LCHlch(34.79, 65.79, 330.79°)
OKLaboklab(46.27% 0.1645 -0.0885)
OKLCHoklch(46.27% 0.187 331.7)
XYZxyz(16.0461, 8.3927, 23.3245)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1C86 #1C8F25
analogous
#5E1C8F #8F1C86 #8F1C4C
triadic
#8F1C86 #868F1C #1C868F
tetradic
#8F1C86 #8F5E1C #1C8F25 #1C4C8F
square
#8F1C86 #8F5E1C #1C8F25 #1C4C8F
split-complementary
#8F1C86 #4C8F1C #1C8F5E
monochromatic
#290826 #5C1256 #8F1C86 #C226B6 #DC4AD0

Accessibility & contrast

On white

7.84
#8F1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8F1C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1C86
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1C86#FFFFFF#000000##FFFFFF
##8F1C861.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104889
Deuteranopia (green-blind)
#435783
Tritanopia (blue-blind)
#952B51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f1c86;
/* rgb */ color: rgb(143, 28, 134);
/* oklch */ color: oklch(46.3% 0.187 331.7);
Tailwind
colors: {
  custom: {
    50: '#b467a9',
    500: '#8f1c86',
    950: '#000000',
  },
}
SCSS
$custom: #8f1c86;
$custom-light: #b467a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1c86",
  "rgb": {
    "r": 143,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 304.696,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46268,
    "c": 0.18682,
    "h": 331.7
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#8F1C86
secondary
#49BE52
accent
#EA4B3E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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