#8F2687#8F2687

#8F2687 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.177 H 331.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8F2687
RGBrgb(143, 38, 135)
HSLhsl(305, 58%, 35%)
HSVhsv(305, 73%, 56%)
CMYKcmyk(0%, 73.4%, 5.6%, 43.9%)
CIE-LABlab(35.94, 54.45, -30.90)
CIE-LCHlch(35.94, 62.61, 330.42°)
OKLaboklab(47.11% 0.1555 -0.0851)
OKLCHoklch(47.11% 0.177 331.3)
XYZxyz(16.3940, 8.9764, 23.7862)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2687 #268F2E
analogous
#62268F #8F2687 #8F2653
triadic
#8F2687 #878F26 #26878F
tetradic
#8F2687 #8F6226 #268F2E #26538F
square
#8F2687 #8F6226 #268F2E #26538F
split-complementary
#8F2687 #538F26 #268F62
monochromatic
#2E0C2C #5F1959 #8F2687 #BF33B5 #D45CCA

Accessibility & contrast

On white

7.51
#8F2687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8F2687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2687
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2687#FFFFFF#000000##FFFFFF
##8F26871.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B8A
Deuteranopia (green-blind)
#475A84
Tritanopia (blue-blind)
#953254
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2687;
/* rgb */ color: rgb(143, 38, 135);
/* oklch */ color: oklch(47.1% 0.177 331.3);
Tailwind
colors: {
  custom: {
    50: '#b36baa',
    500: '#8f2687',
    950: '#000000',
  },
}
SCSS
$custom: #8f2687;
$custom-light: #b36baa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2687",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 304.571,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47111,
    "c": 0.17721,
    "h": 331.3
  },
  "luminance": 0.08975
}

Semantic roles & 50–950 ramp

primary
#8F2687
secondary
#58B960
accent
#E15247
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F2687

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

Preview Lab → · Contrast checker → · Palette generator →

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