#8F207C#8F207C

#8F207C is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.0% C 0.176 H 336.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8F207C
RGBrgb(143, 32, 124)
HSLhsl(310, 63%, 34%)
HSVhsv(310, 78%, 56%)
CMYKcmyk(0%, 77.6%, 13.3%, 43.9%)
CIE-LABlab(34.66, 54.71, -26.07)
CIE-LCHlch(34.66, 60.60, 334.52°)
OKLaboklab(46% 0.1606 -0.0711)
OKLCHoklch(46% 0.176 336.1)
XYZxyz(15.4825, 8.3293, 19.8572)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F207C #208F33
analogous
#6B208F #8F207C #8F2045
triadic
#8F207C #7C8F20 #207C8F
tetradic
#8F207C #8F6B20 #208F33 #20458F
square
#8F207C #8F6B20 #208F33 #20458F
split-complementary
#8F207C #458F20 #208F6B
monochromatic
#2B0A25 #5D1551 #8F207C #C12BA7 #D851C1

Accessibility & contrast

On white

7.88
#8F207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8F207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F207C
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F207C#FFFFFF#000000##FFFFFF
##8F207C1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#495779
Tritanopia (blue-blind)
#97284C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f207c;
/* rgb */ color: rgb(143, 32, 124);
/* oklch */ color: oklch(46.0% 0.176 336.1);
Tailwind
colors: {
  custom: {
    50: '#b368a2',
    500: '#8f207c',
    950: '#000000',
  },
}
SCSS
$custom: #8f207c;
$custom-light: #b368a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f207c",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 310.27,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46002,
    "c": 0.17563,
    "h": 336.1
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#8F207C
secondary
#4FBB62
accent
#E65E41
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F207C

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

Preview Lab → · Contrast checker → · Palette generator →

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