#8F2E77#8F2E77

#8F2E77 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.155 H 339.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8F2E77
RGBrgb(143, 46, 119)
HSLhsl(315, 51%, 37%)
HSVhsv(315, 68%, 56%)
CMYKcmyk(0%, 67.8%, 16.8%, 43.9%)
CIE-LABlab(36.23, 48.84, -20.50)
CIE-LCHlch(36.23, 52.97, 337.23°)
OKLaboklab(47.06% 0.1447 -0.0554)
OKLCHoklch(47.06% 0.155 339.1)
XYZxyz(15.6348, 9.1269, 18.3874)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E77 #2E8F46
analogous
#772E8F #8F2E77 #8F2E47
triadic
#8F2E77 #778F2E #2E778F
tetradic
#8F2E77 #8F772E #2E8F46 #2E478F
square
#8F2E77 #8F772E #2E8F46 #2E478F
split-complementary
#8F2E77 #478F2E #2E8F77
monochromatic
#32102A #611F50 #8F2E77 #BD3D9E #CF69B5

Accessibility & contrast

On white

7.43
#8F2E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8F2E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E77
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E77#FFFFFF#000000##FFFFFF
##8F2E771.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334B79
Deuteranopia (green-blind)
#515B75
Tritanopia (blue-blind)
#97314E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2e77;
/* rgb */ color: rgb(143, 46, 119);
/* oklch */ color: oklch(47.1% 0.155 339.1);
Tailwind
colors: {
  custom: {
    50: '#b36e9e',
    500: '#8f2e77',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e77;
$custom-light: #b36e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e77",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 314.845,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4706,
    "c": 0.15489,
    "h": 339.1
  },
  "luminance": 0.09126
}

Semantic roles & 50–950 ramp

primary
#8F2E77
secondary
#63B678
accent
#DB704D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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