#8F2386#8F2386

#8F2386 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.180 H 331.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8F2386
RGBrgb(143, 35, 134)
HSLhsl(305, 61%, 35%)
HSVhsv(305, 76%, 56%)
CMYKcmyk(0%, 75.5%, 6.3%, 43.9%)
CIE-LABlab(35.53, 55.31, -30.94)
CIE-LCHlch(35.53, 63.37, 330.78°)
OKLaboklab(46.8% 0.1584 -0.0851)
OKLCHoklch(46.8% 0.18 331.7)
XYZxyz(16.2318, 8.7643, 23.3864)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2386 #238F2C
analogous
#62238F #8F2386 #8F2350
triadic
#8F2386 #868F23 #23868F
tetradic
#8F2386 #8F6223 #238F2C #23508F
square
#8F2386 #8F6223 #238F2C #23508F
split-complementary
#8F2386 #508F23 #238F62
monochromatic
#2D0B2A #5E1758 #8F2386 #C02FB4 #D657CB

Accessibility & contrast

On white

7.63
#8F2386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8F2386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2386
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2386#FFFFFF#000000##FFFFFF
##8F23861.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A89
Deuteranopia (green-blind)
#465983
Tritanopia (blue-blind)
#953052
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f2386;
/* rgb */ color: rgb(143, 35, 134);
/* oklch */ color: oklch(46.8% 0.180 331.7);
Tailwind
colors: {
  custom: {
    50: '#b36aa9',
    500: '#8f2386',
    950: '#000000',
  },
}
SCSS
$custom: #8f2386;
$custom-light: #b36aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2386",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 305,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46797,
    "c": 0.17981,
    "h": 331.7
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#8F2386
secondary
#54BA5C
accent
#E45144
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F2386

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

Preview Lab → · Contrast checker → · Palette generator →

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