#8F1686#8F1686

#8F1686 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.192 H 331.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8F1686
RGBrgb(143, 22, 134)
HSLhsl(304, 73%, 32%)
HSVhsv(304, 85%, 56%)
CMYKcmyk(0%, 84.6%, 6.3%, 43.9%)
CIE-LABlab(34.26, 58.94, -32.93)
CIE-LCHlch(34.26, 67.52, 330.81°)
OKLaboklab(45.9% 0.1689 -0.0908)
OKLCHoklch(45.9% 0.192 331.7)
XYZxyz(15.9177, 8.1361, 23.2817)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1686 #168F1F
analogous
#5C168F #8F1686 #8F1649
triadic
#8F1686 #868F16 #16868F
tetradic
#8F1686 #8F5C16 #168F1F #16498F
square
#8F1686 #8F5C16 #168F1F #16498F
split-complementary
#8F1686 #498F16 #168F5C
monochromatic
#250623 #5A0E54 #8F1686 #C41EB8 #E13ED5

Accessibility & contrast

On white

7.99
#8F1686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1686
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1686#FFFFFF#000000##FFFFFF
##8F16861.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054689
Deuteranopia (green-blind)
#415683
Tritanopia (blue-blind)
#952850
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1686;
/* rgb */ color: rgb(143, 22, 134);
/* oklch */ color: oklch(45.9% 0.192 331.7);
Tailwind
colors: {
  custom: {
    50: '#b466aa',
    500: '#8f1686',
    950: '#000000',
  },
}
SCSS
$custom: #8f1686;
$custom-light: #b466aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1686",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 304.463,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45896,
    "c": 0.19181,
    "h": 331.7
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#8F1686
secondary
#3FC149
accent
#F04538
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1686

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

Preview Lab → · Contrast checker → · Palette generator →

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