#8F327D#8F327D

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

Color values

HEX#8F327D
RGBrgb(143, 50, 125)
HSLhsl(312, 48%, 38%)
HSVhsv(312, 65%, 56%)
CMYKcmyk(0%, 65%, 12.6%, 43.9%)
CIE-LABlab(37.12, 48.09, -22.86)
CIE-LCHlch(37.12, 53.24, 334.58°)
OKLaboklab(47.8% 0.1406 -0.0621)
OKLCHoklch(47.8% 0.154 336.2)
XYZxyz(16.1702, 9.6028, 20.3999)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F327D #328F44
analogous
#72328F #8F327D #8F324E
triadic
#8F327D #7D8F32 #327D8F
tetradic
#8F327D #8F7232 #328F44 #324E8F
square
#8F327D #8F7232 #328F44 #324E8F
split-complementary
#8F327D #4E8F32 #328F72
monochromatic
#34122E #622255 #8F327D #BC42A5 #CD6FBA

Accessibility & contrast

On white

7.19
#8F327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8F327D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F327D
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F327D#FFFFFF#000000##FFFFFF
##8F327D1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#515C7B
Tritanopia (blue-blind)
#963753
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f327d;
/* rgb */ color: rgb(143, 50, 125);
/* oklch */ color: oklch(47.8% 0.154 336.2);
Tailwind
colors: {
  custom: {
    50: '#b371a3',
    500: '#8f327d',
    950: '#000000',
  },
}
SCSS
$custom: #8f327d;
$custom-light: #b371a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f327d",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 311.613,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47802,
    "c": 0.15369,
    "h": 336.2
  },
  "luminance": 0.09602
}

Semantic roles & 50–950 ramp

primary
#8F327D
secondary
#68B477
accent
#D86A50
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F327D

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

Preview Lab → · Contrast checker → · Palette generator →

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