#8F207A#8F207A

#8F207A is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.174 H 337.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8F207A
RGBrgb(143, 32, 122)
HSLhsl(311, 63%, 34%)
HSVhsv(311, 78%, 56%)
CMYKcmyk(0%, 77.6%, 14.7%, 43.9%)
CIE-LABlab(34.56, 54.41, -24.98)
CIE-LCHlch(34.56, 59.87, 335.34°)
OKLaboklab(45.9% 0.1604 -0.068)
OKLCHoklch(45.9% 0.174 337)
XYZxyz(15.3574, 8.2793, 19.1978)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F207A #208F35
analogous
#6D208F #8F207A #8F2043
triadic
#8F207A #7A8F20 #207A8F
tetradic
#8F207A #8F6D20 #208F35 #20438F
square
#8F207A #8F6D20 #208F35 #20438F
split-complementary
#8F207A #438F20 #208F6D
monochromatic
#2B0A25 #5D154F #8F207A #C12BA5 #D851BF

Accessibility & contrast

On white

7.91
#8F207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8F207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F207A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F207A#FFFFFF#000000##FFFFFF
##8F207A1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467C
Deuteranopia (green-blind)
#4A5777
Tritanopia (blue-blind)
#97274B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f207a;
/* rgb */ color: rgb(143, 32, 122);
/* oklch */ color: oklch(45.9% 0.174 337.0);
Tailwind
colors: {
  custom: {
    50: '#b368a0',
    500: '#8f207a',
    950: '#000000',
  },
}
SCSS
$custom: #8f207a;
$custom-light: #b368a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f207a",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 311.351,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45896,
    "c": 0.17422,
    "h": 337
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

primary
#8F207A
secondary
#4FBB64
accent
#E66141
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8F207A

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

Preview Lab → · Contrast checker → · Palette generator →

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