#8F2F89#8F2F89

#8F2F89 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.1% C 0.168 H 330.4°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8F2F89
RGBrgb(143, 47, 137)
HSLhsl(304, 51%, 37%)
HSVhsv(304, 67%, 56%)
CMYKcmyk(0%, 67.1%, 4.2%, 43.9%)
CIE-LABlab(37.26, 51.36, -30.05)
CIE-LCHlch(37.26, 59.50, 329.67°)
OKLaboklab(48.1% 0.1457 -0.0827)
OKLCHoklch(48.1% 0.168 330.4)
XYZxyz(16.8595, 9.6801, 24.6425)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2F89 #2F8F35
analogous
#652F8F #8F2F89 #8F2F59
triadic
#8F2F89 #898F2F #2F898F
tetradic
#8F2F89 #8F652F #2F8F35 #2F598F
square
#8F2F89 #8F652F #2F8F35 #2F598F
split-complementary
#8F2F89 #598F2F #2F8F65
monochromatic
#331131 #61205D #8F2F89 #BD3EB5 #CE6AC8

Accessibility & contrast

On white

7.15
#8F2F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8F2F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2F89
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2F89#FFFFFF#000000##FFFFFF
##8F2F891.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274F8C
Deuteranopia (green-blind)
#4A5C87
Tritanopia (blue-blind)
#943A58
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2f89;
/* rgb */ color: rgb(143, 47, 137);
/* oklch */ color: oklch(48.1% 0.168 330.4);
Tailwind
colors: {
  custom: {
    50: '#b370ac',
    500: '#8f2f89',
    950: '#000000',
  },
}
SCSS
$custom: #8f2f89;
$custom-light: #b370ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2f89",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 303.75,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.481,
    "c": 0.16752,
    "h": 330.4
  },
  "luminance": 0.09679
}

Semantic roles & 50–950 ramp

primary
#8F2F89
secondary
#65B56A
accent
#DA574E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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