#8F327E#8F327E

#8F327E is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.154 H 335.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8F327E
RGBrgb(143, 50, 126)
HSLhsl(311, 48%, 38%)
HSVhsv(311, 65%, 56%)
CMYKcmyk(0%, 65%, 11.9%, 43.9%)
CIE-LABlab(37.17, 48.25, -23.40)
CIE-LCHlch(37.17, 53.63, 334.12°)
OKLaboklab(47.85% 0.1407 -0.0636)
OKLCHoklch(47.85% 0.154 335.7)
XYZxyz(16.2344, 9.6285, 20.7381)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F327E #328F43
analogous
#72328F #8F327E #8F324F
triadic
#8F327E #7E8F32 #327E8F
tetradic
#8F327E #8F7232 #328F43 #324F8F
square
#8F327E #8F7232 #328F43 #324F8F
split-complementary
#8F327E #4F8F32 #328F72
monochromatic
#34122E #622256 #8F327E #BC42A6 #CD6FBB

Accessibility & contrast

On white

7.18
#8F327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8F327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F327E
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F327E#FFFFFF#000000##FFFFFF
##8F327E1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#505D7C
Tritanopia (blue-blind)
#963853
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f327e;
/* rgb */ color: rgb(143, 50, 126);
/* oklch */ color: oklch(47.9% 0.154 335.7);
Tailwind
colors: {
  custom: {
    50: '#b371a3',
    500: '#8f327e',
    950: '#000000',
  },
}
SCSS
$custom: #8f327e;
$custom-light: #b371a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f327e",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 310.968,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47852,
    "c": 0.15446,
    "h": 335.7
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#8F327E
secondary
#68B476
accent
#D86950
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F327E

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

Preview Lab → · Contrast checker → · Palette generator →

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