#8F2A89#8F2A89

#8F2A89 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.174 H 330.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8F2A89
RGBrgb(143, 42, 137)
HSLhsl(304, 55%, 36%)
HSVhsv(304, 71%, 56%)
CMYKcmyk(0%, 70.6%, 4.2%, 43.9%)
CIE-LABlab(36.56, 53.33, -31.16)
CIE-LCHlch(36.56, 61.76, 329.70°)
OKLaboklab(47.59% 0.1514 -0.0858)
OKLCHoklch(47.59% 0.174 330.4)
XYZxyz(16.6709, 9.3030, 24.5797)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A89 #2A8F30
analogous
#632A8F #8F2A89 #8F2A57
triadic
#8F2A89 #898F2A #2A898F
tetradic
#8F2A89 #8F632A #2A8F30 #2A578F
square
#8F2A89 #8F632A #2A8F30 #2A578F
split-complementary
#8F2A89 #578F2A #2A8F63
monochromatic
#300E2E #601C5C #8F2A89 #BE38B6 #D162CA

Accessibility & contrast

On white

7.34
#8F2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8F2A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A89
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A89#FFFFFF#000000##FFFFFF
##8F2A891.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214D8C
Deuteranopia (green-blind)
#475B86
Tritanopia (blue-blind)
#953656
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2a89;
/* rgb */ color: rgb(143, 42, 137);
/* oklch */ color: oklch(47.6% 0.174 330.4);
Tailwind
colors: {
  custom: {
    50: '#b36dac',
    500: '#8f2a89',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a89;
$custom-light: #b36dac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a89",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 303.564,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47594,
    "c": 0.174,
    "h": 330.4
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#8F2A89
secondary
#5EB763
accent
#DE534A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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