#8F2989#8F2989

#8F2989 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.175 H 330.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8F2989
RGBrgb(143, 41, 137)
HSLhsl(304, 55%, 36%)
HSVhsv(304, 71%, 56%)
CMYKcmyk(0%, 71.3%, 4.2%, 43.9%)
CIE-LABlab(36.43, 53.70, -31.36)
CIE-LCHlch(36.43, 62.19, 329.71°)
OKLaboklab(47.5% 0.1524 -0.0864)
OKLCHoklch(47.5% 0.175 330.5)
XYZxyz(16.6359, 9.2329, 24.5680)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2989 #298F2F
analogous
#62298F #8F2989 #8F2956
triadic
#8F2989 #898F29 #29898F
tetradic
#8F2989 #8F6229 #298F2F #29568F
square
#8F2989 #8F6229 #298F2F #29568F
split-complementary
#8F2989 #568F29 #298F62
monochromatic
#300E2E #5F1B5B #8F2989 #BF37B7 #D261CB

Accessibility & contrast

On white

7.38
#8F2989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8F2989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2989
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2989#FFFFFF#000000##FFFFFF
##8F29891.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8C
Deuteranopia (green-blind)
#475B86
Tritanopia (blue-blind)
#953556
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2989;
/* rgb */ color: rgb(143, 41, 137);
/* oklch */ color: oklch(47.5% 0.175 330.5);
Tailwind
colors: {
  custom: {
    50: '#b36dac',
    500: '#8f2989',
    950: '#000000',
  },
}
SCSS
$custom: #8f2989;
$custom-light: #b36dac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2989",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 303.529,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47499,
    "c": 0.17523,
    "h": 330.5
  },
  "luminance": 0.09232
}

Semantic roles & 50–950 ramp

primary
#8F2989
secondary
#5CB762
accent
#DF5249
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2989

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

Preview Lab → · Contrast checker → · Palette generator →

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