#8F2E76#8F2E76

#8F2E76 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.154 H 339.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8F2E76
RGBrgb(143, 46, 118)
HSLhsl(315, 51%, 37%)
HSVhsv(315, 68%, 56%)
CMYKcmyk(0%, 67.8%, 17.5%, 43.9%)
CIE-LABlab(36.18, 48.69, -19.94)
CIE-LCHlch(36.18, 52.62, 337.72°)
OKLaboklab(47.01% 0.1445 -0.0538)
OKLCHoklch(47.01% 0.154 339.6)
XYZxyz(15.5751, 9.1031, 18.0728)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E76 #2E8F47
analogous
#782E8F #8F2E76 #8F2E46
triadic
#8F2E76 #768F2E #2E768F
tetradic
#8F2E76 #8F782E #2E8F47 #2E468F
square
#8F2E76 #8F782E #2E8F47 #2E468F
split-complementary
#8F2E76 #468F2E #2E8F78
monochromatic
#32102A #611F50 #8F2E76 #BD3D9C #CF69B4

Accessibility & contrast

On white

7.45
#8F2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8F2E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E76
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E76#FFFFFF#000000##FFFFFF
##8F2E761.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2e76;
/* rgb */ color: rgb(143, 46, 118);
/* oklch */ color: oklch(47.0% 0.154 339.6);
Tailwind
colors: {
  custom: {
    50: '#b36e9d',
    500: '#8f2e76',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e76;
$custom-light: #b36e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e76",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 315.464,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47011,
    "c": 0.15417,
    "h": 339.6
  },
  "luminance": 0.09102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F2E76

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

Preview Lab → · Contrast checker → · Palette generator →

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