#8F277F#8F277F

#8F277F is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.170 H 334.9°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8F277F
RGBrgb(143, 39, 127)
HSLhsl(309, 57%, 36%)
HSVhsv(309, 73%, 56%)
CMYKcmyk(0%, 72.7%, 11.2%, 43.9%)
CIE-LABlab(35.64, 52.81, -26.40)
CIE-LCHlch(35.64, 59.04, 333.43°)
OKLaboklab(46.76% 0.1538 -0.0721)
OKLCHoklch(46.76% 0.17 334.9)
XYZxyz(15.8842, 8.8244, 20.9413)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F277F #278F37
analogous
#6B278F #8F277F #8F274B
triadic
#8F277F #7F8F27 #277F8F
tetradic
#8F277F #8F6B27 #278F37 #274B8F
square
#8F277F #8F6B27 #278F37 #274B8F
split-complementary
#8F277F #4B8F27 #278F6B
monochromatic
#2F0D2A #5F1A54 #8F277F #BF34AA #D35DC1

Accessibility & contrast

On white

7.60
#8F277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8F277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F277F
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F277F#FFFFFF#000000##FFFFFF
##8F277F1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A81
Deuteranopia (green-blind)
#4B597C
Tritanopia (blue-blind)
#962F50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f277f;
/* rgb */ color: rgb(143, 39, 127);
/* oklch */ color: oklch(46.8% 0.170 334.9);
Tailwind
colors: {
  custom: {
    50: '#b36ba4',
    500: '#8f277f',
    950: '#000000',
  },
}
SCSS
$custom: #8f277f;
$custom-light: #b36ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f277f",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 309.231,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46762,
    "c": 0.16992,
    "h": 334.9
  },
  "luminance": 0.08823
}

Semantic roles & 50–950 ramp

primary
#8F277F
secondary
#5AB868
accent
#E05F47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F277F

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

Preview Lab → · Contrast checker → · Palette generator →

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