#FC87F2#FC87F2

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

Color values

HEX#FC87F2
RGBrgb(252, 135, 242)
HSLhsl(305, 95%, 76%)
HSVhsv(305, 46%, 99%)
CMYKcmyk(0%, 46.4%, 4%, 1.2%)
CIE-LABlab(72.52, 58.59, -34.48)
CIE-LCHlch(72.52, 67.98, 329.52°)
OKLaboklab(78.71% 0.1657 -0.094)
OKLCHoklch(78.71% 0.19 330.4)
XYZxyz(64.8352, 44.4379, 89.1495)
Luminance0.4443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC87F2 #87FC91
analogous
#CB87FC #FC87F2 #FC87B7
triadic
#FC87F2 #F2FC87 #87F2FC
tetradic
#FC87F2 #FCCB87 #87FC91 #87B7FC
square
#FC87F2 #FCCB87 #87FC91 #87B7FC
split-complementary
#FC87F2 #B7FC87 #87FCCB
monochromatic
#F910E5 #FB4BEC #FC87F2 #FDC3F8 #FEE1FC

Accessibility & contrast

On white

2.12
#FC87F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#FC87F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC87F2
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC87F2#FFFFFF#000000##000000
##FC87F21.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A8F6
Deuteranopia (green-blind)
#A2B8EF
Tritanopia (blue-blind)
#FF90B1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fc87f2;
/* rgb */ color: rgb(252, 135, 242);
/* oklch */ color: oklch(78.7% 0.190 330.4);
Tailwind
colors: {
  custom: {
    50: '#ffadf6',
    500: '#fc87f2',
    950: '#000000',
  },
}
SCSS
$custom: #fc87f2;
$custom-light: #ffadf6;
$custom-dark: #000000;
JSON
{
  "hex": "#fc87f2",
  "rgb": {
    "r": 252,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 305.128,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78708,
    "c": 0.19046,
    "h": 330.4
  },
  "luminance": 0.44434
}

Semantic roles & 50–950 ramp

primary
#FC87F2
secondary
#D5F6D7
accent
#E61400
background
#FFFAFF
surface
#FFF5FE
border
#D7CFD6
text
#181117
muted
#868085

Preview Lab

Preview with #FC87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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