#FC87F6#FC87F6

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

Color values

HEX#FC87F6
RGBrgb(252, 135, 246)
HSLhsl(303, 95%, 76%)
HSVhsv(303, 46%, 99%)
CMYKcmyk(0%, 46.4%, 2.4%, 1.2%)
CIE-LABlab(72.68, 59.27, -36.42)
CIE-LCHlch(72.68, 69.56, 328.43°)
OKLaboklab(78.88% 0.1664 -0.0995)
OKLCHoklch(78.88% 0.194 329.1)
XYZxyz(65.4426, 44.6808, 92.3481)
Luminance0.4468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC87F6 #87FC8D
analogous
#C787FC #FC87F6 #FC87BB
triadic
#FC87F6 #F6FC87 #87F6FC
tetradic
#FC87F6 #FCC787 #87FC8D #87BBFC
square
#FC87F6 #FCC787 #87FC8D #87BBFC
split-complementary
#FC87F6 #BBFC87 #87FCC7
monochromatic
#F910ED #FB4BF2 #FC87F6 #FDC3FA #FEE1FD

Accessibility & contrast

On white

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

On black

9.94
#FC87F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC87F6
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC87F6#FFFFFF#000000##000000
##FC87F61.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A8FA
Deuteranopia (green-blind)
#A1B8F2
Tritanopia (blue-blind)
#FF91B3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fc87f6;
/* rgb */ color: rgb(252, 135, 246);
/* oklch */ color: oklch(78.9% 0.194 329.1);
Tailwind
colors: {
  custom: {
    50: '#ffadf9',
    500: '#fc87f6',
    950: '#000000',
  },
}
SCSS
$custom: #fc87f6;
$custom-light: #ffadf9;
$custom-dark: #000000;
JSON
{
  "hex": "#fc87f6",
  "rgb": {
    "r": 252,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 303.077,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78881,
    "c": 0.19387,
    "h": 329.1
  },
  "luminance": 0.44677
}

Semantic roles & 50–950 ramp

primary
#FC87F6
secondary
#D5F6D6
accent
#E60C00
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FC87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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