#8F3C71#8F3C71

#8F3C71 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.5% C 0.129 H 343.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8F3C71
RGBrgb(143, 60, 113)
HSLhsl(322, 41%, 40%)
HSVhsv(322, 58%, 56%)
CMYKcmyk(0%, 58%, 21%, 43.9%)
CIE-LABlab(38.31, 41.53, -13.55)
CIE-LCHlch(38.31, 43.68, 341.94°)
OKLaboklab(48.51% 0.1241 -0.036)
OKLCHoklch(48.51% 0.129 343.8)
XYZxyz(15.9246, 10.2650, 16.7622)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3C71 #3C8F5A
analogous
#843C8F #8F3C71 #8F3C47
triadic
#8F3C71 #718F3C #3C718F
tetradic
#8F3C71 #8F843C #3C8F5A #3C478F
square
#8F3C71 #8F843C #3C8F5A #3C478F
split-complementary
#8F3C71 #478F3C #3C8F84
monochromatic
#39182D #642A4F #8F3C71 #B65292 #C87DAD

Accessibility & contrast

On white

6.88
#8F3C71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8F3C71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3C71
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3C71#FFFFFF#000000##FFFFFF
##8F3C711.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435273
Deuteranopia (green-blind)
#5A5F6F
Tritanopia (blue-blind)
#983C51
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f3c71;
/* rgb */ color: rgb(143, 60, 113);
/* oklch */ color: oklch(48.5% 0.129 343.8);
Tailwind
colors: {
  custom: {
    50: '#b2769a',
    500: '#8f3c71',
    950: '#000000',
  },
}
SCSS
$custom: #8f3c71;
$custom-light: #b2769a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3c71",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 113
  },
  "hsl": {
    "h": 321.687,
    "s": 40.887,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4851,
    "c": 0.12922,
    "h": 343.8
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#8F3C71
secondary
#75B28B
accent
#D18357
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8F3C71

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

Preview Lab → · Contrast checker → · Palette generator →

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