#8F2D7B#8F2D7B

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

Color values

HEX#8F2D7B
RGBrgb(143, 45, 123)
HSLhsl(312, 52%, 37%)
HSVhsv(312, 69%, 56%)
CMYKcmyk(0%, 68.5%, 14%, 43.9%)
CIE-LABlab(36.27, 49.87, -22.94)
CIE-LCHlch(36.27, 54.89, 335.30°)
OKLaboklab(47.15% 0.1465 -0.0623)
OKLCHoklch(47.15% 0.159 337)
XYZxyz(15.8415, 9.1479, 19.6664)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D7B #2D8F41
analogous
#722D8F #8F2D7B #8F2D4A
triadic
#8F2D7B #7B8F2D #2D7B8F
tetradic
#8F2D7B #8F722D #2D8F41 #2D4A8F
square
#8F2D7B #8F722D #2D8F41 #2D4A8F
split-complementary
#8F2D7B #4A8F2D #2D8F72
monochromatic
#32102B #601E53 #8F2D7B #BE3CA3 #CF67BA

Accessibility & contrast

On white

7.42
#8F2D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2D7B
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D7B#FFFFFF#000000##FFFFFF
##8F2D7B1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7D
Deuteranopia (green-blind)
#4F5B79
Tritanopia (blue-blind)
#973250
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2d7b;
/* rgb */ color: rgb(143, 45, 123);
/* oklch */ color: oklch(47.1% 0.159 337.0);
Tailwind
colors: {
  custom: {
    50: '#b36ea1',
    500: '#8f2d7b',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d7b;
$custom-light: #b36ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d7b",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 312.245,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4715,
    "c": 0.1592,
    "h": 337
  },
  "luminance": 0.09146
}

Semantic roles & 50–950 ramp

primary
#8F2D7B
secondary
#62B673
accent
#DC694C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8F2D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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