#8F2986#8F2986

#8F2986 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.173 H 331.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8F2986
RGBrgb(143, 41, 134)
HSLhsl(305, 55%, 36%)
HSVhsv(305, 71%, 56%)
CMYKcmyk(0%, 71.3%, 6.3%, 43.9%)
CIE-LABlab(36.27, 53.20, -29.77)
CIE-LCHlch(36.27, 60.96, 330.77°)
OKLaboklab(47.33% 0.1523 -0.0818)
OKLCHoklch(47.33% 0.173 331.8)
XYZxyz(16.4237, 9.1480, 23.4504)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2986 #298F32
analogous
#65298F #8F2986 #8F2953
triadic
#8F2986 #868F29 #29868F
tetradic
#8F2986 #8F6529 #298F32 #29538F
square
#8F2986 #8F6529 #298F32 #29538F
split-complementary
#8F2986 #538F29 #298F65
monochromatic
#300E2D #5F1B59 #8F2986 #BF37B3 #D261C8

Accessibility & contrast

On white

7.42
#8F2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8F2986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2986
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2986#FFFFFF#000000##FFFFFF
##8F29861.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C89
Deuteranopia (green-blind)
#485A83
Tritanopia (blue-blind)
#953454
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2986;
/* rgb */ color: rgb(143, 41, 134);
/* oklch */ color: oklch(47.3% 0.173 331.8);
Tailwind
colors: {
  custom: {
    50: '#b36da9',
    500: '#8f2986',
    950: '#000000',
  },
}
SCSS
$custom: #8f2986;
$custom-light: #b36da9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2986",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 305.294,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4733,
    "c": 0.17286,
    "h": 331.8
  },
  "luminance": 0.09147
}

Semantic roles & 50–950 ramp

primary
#8F2986
secondary
#5CB764
accent
#DF5649
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F2986

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

Preview Lab → · Contrast checker → · Palette generator →

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