#8F2387#8F2387

#8F2387 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.181 H 331.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8F2387
RGBrgb(143, 35, 135)
HSLhsl(304, 61%, 35%)
HSVhsv(304, 76%, 56%)
CMYKcmyk(0%, 75.5%, 5.6%, 43.9%)
CIE-LABlab(35.58, 55.47, -31.47)
CIE-LCHlch(35.58, 63.77, 330.43°)
OKLaboklab(46.85% 0.1584 -0.0867)
OKLCHoklch(46.85% 0.181 331.3)
XYZxyz(16.3019, 8.7923, 23.7555)
Luminance0.0879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2387 #238F2B
analogous
#61238F #8F2387 #8F2351
triadic
#8F2387 #878F23 #23878F
tetradic
#8F2387 #8F6123 #238F2B #23518F
square
#8F2387 #8F6123 #238F2B #23518F
split-complementary
#8F2387 #518F23 #238F61
monochromatic
#2D0B2A #5E1759 #8F2387 #C02FB5 #D657CC

Accessibility & contrast

On white

7.61
#8F2387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8F2387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2387
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2387#FFFFFF#000000##FFFFFF
##8F23871.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8A
Deuteranopia (green-blind)
#455984
Tritanopia (blue-blind)
#953053
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f2387;
/* rgb */ color: rgb(143, 35, 135);
/* oklch */ color: oklch(46.9% 0.181 331.3);
Tailwind
colors: {
  custom: {
    50: '#b36aaa',
    500: '#8f2387',
    950: '#000000',
  },
}
SCSS
$custom: #8f2387;
$custom-light: #b36aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2387",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 304.444,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46854,
    "c": 0.18057,
    "h": 331.3
  },
  "luminance": 0.08791
}

Semantic roles & 50–950 ramp

primary
#8F2387
secondary
#54BA5B
accent
#E45044
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F2387

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

Preview Lab → · Contrast checker → · Palette generator →

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