#8F327B#8F327B

#8F327B is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.7% C 0.152 H 337.2°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8F327B
RGBrgb(143, 50, 123)
HSLhsl(313, 48%, 38%)
HSVhsv(313, 65%, 56%)
CMYKcmyk(0%, 65%, 14%, 43.9%)
CIE-LABlab(37.03, 47.77, -21.76)
CIE-LCHlch(37.03, 52.49, 335.51°)
OKLaboklab(47.7% 0.1403 -0.059)
OKLCHoklch(47.7% 0.152 337.2)
XYZxyz(16.0437, 9.5523, 19.7338)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F327B #328F46
analogous
#74328F #8F327B #8F324C
triadic
#8F327B #7B8F32 #327B8F
tetradic
#8F327B #8F7432 #328F46 #324C8F
square
#8F327B #8F7432 #328F46 #324C8F
split-complementary
#8F327B #4C8F32 #328F74
monochromatic
#34122D #622254 #8F327B #BC42A2 #CD6FB8

Accessibility & contrast

On white

7.22
#8F327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8F327B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F327B
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F327B#FFFFFF#000000##FFFFFF
##8F327B1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7D
Deuteranopia (green-blind)
#515C79
Tritanopia (blue-blind)
#963652
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f327b;
/* rgb */ color: rgb(143, 50, 123);
/* oklch */ color: oklch(47.7% 0.152 337.2);
Tailwind
colors: {
  custom: {
    50: '#b371a1',
    500: '#8f327b',
    950: '#000000',
  },
}
SCSS
$custom: #8f327b;
$custom-light: #b371a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f327b",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 312.903,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47703,
    "c": 0.15215,
    "h": 337.2
  },
  "luminance": 0.09551
}

Semantic roles & 50–950 ramp

primary
#8F327B
secondary
#68B479
accent
#D86D50
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8F327B

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

Preview Lab → · Contrast checker → · Palette generator →

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