#8F1986#8F1986

#8F1986 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.189 H 331.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8F1986
RGBrgb(143, 25, 134)
HSLhsl(305, 70%, 33%)
HSVhsv(305, 83%, 56%)
CMYKcmyk(0%, 82.5%, 6.3%, 43.9%)
CIE-LABlab(34.51, 58.22, -32.54)
CIE-LCHlch(34.51, 66.70, 330.80°)
OKLaboklab(46.07% 0.1668 -0.0897)
OKLCHoklch(46.07% 0.189 331.7)
XYZxyz(15.9784, 8.2575, 23.3019)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1986 #198F22
analogous
#5D198F #8F1986 #8F194B
triadic
#8F1986 #868F19 #19868F
tetradic
#8F1986 #8F5D19 #198F22 #194B8F
square
#8F1986 #8F5D19 #198F22 #194B8F
split-complementary
#8F1986 #4B8F19 #198F5D
monochromatic
#270724 #5B1055 #8F1986 #C322B7 #DE44D3

Accessibility & contrast

On white

7.92
#8F1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1986
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1986#FFFFFF#000000##FFFFFF
##8F19861.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4789
Deuteranopia (green-blind)
#425783
Tritanopia (blue-blind)
#952A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1986;
/* rgb */ color: rgb(143, 25, 134);
/* oklch */ color: oklch(46.1% 0.189 331.7);
Tailwind
colors: {
  custom: {
    50: '#b466a9',
    500: '#8f1986',
    950: '#000000',
  },
}
SCSS
$custom: #8f1986;
$custom-light: #b466a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1986",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 304.576,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46073,
    "c": 0.18943,
    "h": 331.7
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#8F1986
secondary
#44BF4E
accent
#ED483B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1986

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

Preview Lab → · Contrast checker → · Palette generator →

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