#8F337E#8F337E

#8F337E is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.0% C 0.153 H 335.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8F337E
RGBrgb(143, 51, 126)
HSLhsl(311, 47%, 38%)
HSVhsv(311, 64%, 56%)
CMYKcmyk(0%, 64.3%, 11.9%, 43.9%)
CIE-LABlab(37.33, 47.81, -23.16)
CIE-LCHlch(37.33, 53.12, 334.16°)
OKLaboklab(47.97% 0.1395 -0.063)
OKLCHoklch(47.97% 0.153 335.7)
XYZxyz(16.2776, 9.7150, 20.7525)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F337E #338F44
analogous
#72338F #8F337E #8F3350
triadic
#8F337E #7E8F33 #337E8F
tetradic
#8F337E #8F7233 #338F44 #33508F
square
#8F337E #8F7233 #338F44 #33508F
split-complementary
#8F337E #508F33 #338F72
monochromatic
#35132F #622356 #8F337E #BC43A6 #CC70BB

Accessibility & contrast

On white

7.14
#8F337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8F337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F337E
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F337E#FFFFFF#000000##FFFFFF
##8F337E1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#963854
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f337e;
/* rgb */ color: rgb(143, 51, 126);
/* oklch */ color: oklch(48.0% 0.153 335.7);
Tailwind
colors: {
  custom: {
    50: '#b371a3',
    500: '#8f337e',
    950: '#000000',
  },
}
SCSS
$custom: #8f337e;
$custom-light: #b371a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f337e",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 311.087,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47968,
    "c": 0.153,
    "h": 335.7
  },
  "luminance": 0.09714
}

Semantic roles & 50–950 ramp

primary
#8F337E
secondary
#6AB477
accent
#D76A51
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F337E

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

Preview Lab → · Contrast checker → · Palette generator →

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