#FC87F7#FC87F7

#FC87F7 is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.9% C 0.195 H 328.8°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#FC87F7
RGBrgb(252, 135, 247)
HSLhsl(303, 95%, 76%)
HSVhsv(303, 46%, 99%)
CMYKcmyk(0%, 46.4%, 2%, 1.2%)
CIE-LABlab(72.72, 59.44, -36.90)
CIE-LCHlch(72.72, 69.96, 328.17°)
OKLaboklab(78.92% 0.1666 -0.1008)
OKLCHoklch(78.92% 0.195 328.8)
XYZxyz(65.5965, 44.7424, 93.1587)
Luminance0.4474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC87F7 #87FC8C
analogous
#C687FC #FC87F7 #FC87BC
triadic
#FC87F7 #F7FC87 #87F7FC
tetradic
#FC87F7 #FCC687 #87FC8C #87BCFC
square
#FC87F7 #FCC687 #87FC8C #87BCFC
split-complementary
#FC87F7 #BCFC87 #87FCC6
monochromatic
#F910EF #FB4BF3 #FC87F7 #FDC3FB #FEE1FD

Accessibility & contrast

On white

2.11
#FC87F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#FC87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC87F7
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC87F7#FFFFFF#000000##000000
##FC87F71.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FB
Deuteranopia (green-blind)
#A1B8F3
Tritanopia (blue-blind)
#FF92B4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fc87f7;
/* rgb */ color: rgb(252, 135, 247);
/* oklch */ color: oklch(78.9% 0.195 328.8);
Tailwind
colors: {
  custom: {
    50: '#ffadfa',
    500: '#fc87f7',
    950: '#000000',
  },
}
SCSS
$custom: #fc87f7;
$custom-light: #ffadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#fc87f7",
  "rgb": {
    "r": 252,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 302.564,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78924,
    "c": 0.19473,
    "h": 328.8
  },
  "luminance": 0.44739
}

Semantic roles & 50–950 ramp

primary
#FC87F7
secondary
#D5F6D6
accent
#E60A00
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FC87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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