#8F2B7D#8F2B7D

#8F2B7D is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.163 H 335.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8F2B7D
RGBrgb(143, 43, 125)
HSLhsl(311, 54%, 36%)
HSVhsv(311, 70%, 56%)
CMYKcmyk(0%, 69.9%, 12.6%, 43.9%)
CIE-LABlab(36.08, 50.98, -24.48)
CIE-LCHlch(36.08, 56.56, 334.35°)
OKLaboklab(47.04% 0.1492 -0.0666)
OKLCHoklch(47.04% 0.163 335.9)
XYZxyz(15.8935, 9.0494, 20.3077)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B7D #2B8F3D
analogous
#6F2B8F #8F2B7D #8F2B4B
triadic
#8F2B7D #7D8F2B #2B7D8F
tetradic
#8F2B7D #8F6F2B #2B8F3D #2B4B8F
square
#8F2B7D #8F6F2B #2B8F3D #2B4B8F
split-complementary
#8F2B7D #4B8F2B #2B8F6F
monochromatic
#310F2B #601D54 #8F2B7D #BE39A6 #D064BD

Accessibility & contrast

On white

7.47
#8F2B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8F2B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2B7D
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B7D#FFFFFF#000000##FFFFFF
##8F2B7D1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7F
Deuteranopia (green-blind)
#4D5A7B
Tritanopia (blue-blind)
#963150
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2b7d;
/* rgb */ color: rgb(143, 43, 125);
/* oklch */ color: oklch(47.0% 0.163 335.9);
Tailwind
colors: {
  custom: {
    50: '#b36da3',
    500: '#8f2b7d',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b7d;
$custom-light: #b36da3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b7d",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 310.8,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47044,
    "c": 0.16337,
    "h": 335.9
  },
  "luminance": 0.09048
}

Semantic roles & 50–950 ramp

primary
#8F2B7D
secondary
#5FB76F
accent
#DD654B
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F2B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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