#8F2D89#8F2D89

#8F2D89 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.170 H 330.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8F2D89
RGBrgb(143, 45, 137)
HSLhsl(304, 52%, 37%)
HSVhsv(304, 69%, 56%)
CMYKcmyk(0%, 68.5%, 4.2%, 43.9%)
CIE-LABlab(36.97, 52.16, -30.50)
CIE-LCHlch(36.97, 60.43, 329.68°)
OKLaboklab(47.89% 0.148 -0.084)
OKLCHoklch(47.89% 0.17 330.4)
XYZxyz(16.7814, 9.5238, 24.6165)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D89 #2D8F33
analogous
#642D8F #8F2D89 #8F2D58
triadic
#8F2D89 #898F2D #2D898F
tetradic
#8F2D89 #8F642D #2D8F33 #2D588F
square
#8F2D89 #8F642D #2D8F33 #2D588F
split-complementary
#8F2D89 #588F2D #2D8F64
monochromatic
#321030 #601E5C #8F2D89 #BE3CB6 #CF67C9

Accessibility & contrast

On white

7.23
#8F2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8F2D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2D89
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D89#FFFFFF#000000##FFFFFF
##8F2D891.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8C
Deuteranopia (green-blind)
#495C86
Tritanopia (blue-blind)
#943857
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2d89;
/* rgb */ color: rgb(143, 45, 137);
/* oklch */ color: oklch(47.9% 0.170 330.4);
Tailwind
colors: {
  custom: {
    50: '#b36fac',
    500: '#8f2d89',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d89;
$custom-light: #b36fac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d89",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 303.673,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47892,
    "c": 0.17018,
    "h": 330.4
  },
  "luminance": 0.09523
}

Semantic roles & 50–950 ramp

primary
#8F2D89
secondary
#62B667
accent
#DC554C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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