#8F277E#8F277E

#8F277E is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.7% C 0.169 H 335.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8F277E
RGBrgb(143, 39, 126)
HSLhsl(310, 57%, 36%)
HSVhsv(310, 73%, 56%)
CMYKcmyk(0%, 72.7%, 11.9%, 43.9%)
CIE-LABlab(35.59, 52.65, -25.86)
CIE-LCHlch(35.59, 58.66, 333.84°)
OKLaboklab(46.71% 0.1538 -0.0706)
OKLCHoklch(46.71% 0.169 335.3)
XYZxyz(15.8193, 8.7984, 20.5997)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F277E #278F38
analogous
#6C278F #8F277E #8F274A
triadic
#8F277E #7E8F27 #277E8F
tetradic
#8F277E #8F6C27 #278F38 #274A8F
square
#8F277E #8F6C27 #278F38 #274A8F
split-complementary
#8F277E #4A8F27 #278F6C
monochromatic
#2F0D29 #5F1A54 #8F277E #BF34A8 #D35DC0

Accessibility & contrast

On white

7.61
#8F277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F277E
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F277E#FFFFFF#000000##FFFFFF
##8F277E1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#4B597B
Tritanopia (blue-blind)
#962F4F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f277e;
/* rgb */ color: rgb(143, 39, 126);
/* oklch */ color: oklch(46.7% 0.169 335.3);
Tailwind
colors: {
  custom: {
    50: '#b36ba3',
    500: '#8f277e',
    950: '#000000',
  },
}
SCSS
$custom: #8f277e;
$custom-light: #b36ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f277e",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 309.808,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46709,
    "c": 0.16917,
    "h": 335.3
  },
  "luminance": 0.08797
}

Semantic roles & 50–950 ramp

primary
#8F277E
secondary
#5AB869
accent
#E06047
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F277E

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

Preview Lab → · Contrast checker → · Palette generator →

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