#FC87F1#FC87F1

#FC87F1 is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.7% C 0.190 H 330.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#FC87F1
RGBrgb(252, 135, 241)
HSLhsl(306, 95%, 76%)
HSVhsv(306, 46%, 99%)
CMYKcmyk(0%, 46.4%, 4.4%, 1.2%)
CIE-LABlab(72.48, 58.42, -34.00)
CIE-LCHlch(72.48, 67.60, 329.80°)
OKLaboklab(78.67% 0.1655 -0.0926)
OKLCHoklch(78.67% 0.19 330.8)
XYZxyz(64.6855, 44.3780, 88.3607)
Luminance0.4437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC87F1 #87FC92
analogous
#CC87FC #FC87F1 #FC87B6
triadic
#FC87F1 #F1FC87 #87F1FC
tetradic
#FC87F1 #FCCC87 #87FC92 #87B6FC
square
#FC87F1 #FCCC87 #87FC92 #87B6FC
split-complementary
#FC87F1 #B6FC87 #87FCCC
monochromatic
#F910E3 #FB4BEA #FC87F1 #FDC3F8 #FEE1FC

Accessibility & contrast

On white

2.13
#FC87F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#FC87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC87F1
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC87F1#FFFFFF#000000##000000
##FC87F11.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F5
Deuteranopia (green-blind)
#A3B8EE
Tritanopia (blue-blind)
#FF90B1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fc87f1;
/* rgb */ color: rgb(252, 135, 241);
/* oklch */ color: oklch(78.7% 0.190 330.8);
Tailwind
colors: {
  custom: {
    50: '#ffadf6',
    500: '#fc87f1',
    950: '#000000',
  },
}
SCSS
$custom: #fc87f1;
$custom-light: #ffadf6;
$custom-dark: #000000;
JSON
{
  "hex": "#fc87f1",
  "rgb": {
    "r": 252,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 305.641,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78666,
    "c": 0.18962,
    "h": 330.8
  },
  "luminance": 0.44374
}

Semantic roles & 50–950 ramp

primary
#FC87F1
secondary
#D5F6D8
accent
#E61600
background
#FFFAFF
surface
#FFF5FE
border
#D7CFD6
text
#181117
muted
#868085

Preview Lab

Preview with #FC87F1

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

Preview Lab → · Contrast checker → · Palette generator →

#FC87F1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva