#FC87F8#FC87F8

#FC87F8 is a light, vivid purple. Relative luminance 0.448; OKLCH L 79.0% C 0.196 H 328.5°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#FC87F8
RGBrgb(252, 135, 248)
HSLhsl(302, 95%, 76%)
HSVhsv(302, 46%, 99%)
CMYKcmyk(0%, 46.4%, 1.6%, 1.2%)
CIE-LABlab(72.76, 59.61, -37.38)
CIE-LCHlch(72.76, 70.36, 327.91°)
OKLaboklab(78.97% 0.1668 -0.1022)
OKLCHoklch(78.97% 0.196 328.5)
XYZxyz(65.7512, 44.8043, 93.9735)
Luminance0.4480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC87F8 #87FC8B
analogous
#C587FC #FC87F8 #FC87BD
triadic
#FC87F8 #F8FC87 #87F8FC
tetradic
#FC87F8 #FCC587 #87FC8B #87BDFC
square
#FC87F8 #FCC587 #87FC8B #87BDFC
split-complementary
#FC87F8 #BDFC87 #87FCC5
monochromatic
#F910F1 #FB4BF5 #FC87F8 #FDC3FB #FEE1FD

Accessibility & contrast

On white

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

On black

9.96
#FC87F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC87F8
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC87F8#FFFFFF#000000##000000
##FC87F81.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FC
Deuteranopia (green-blind)
#A0B8F4
Tritanopia (blue-blind)
#FF92B4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #fc87f8;
/* rgb */ color: rgb(252, 135, 248);
/* oklch */ color: oklch(79.0% 0.196 328.5);
Tailwind
colors: {
  custom: {
    50: '#ffadfb',
    500: '#fc87f8',
    950: '#000000',
  },
}
SCSS
$custom: #fc87f8;
$custom-light: #ffadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#fc87f8",
  "rgb": {
    "r": 252,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 302.051,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78968,
    "c": 0.1956,
    "h": 328.5
  },
  "luminance": 0.44801
}

Semantic roles & 50–950 ramp

primary
#FC87F8
secondary
#D5F6D6
accent
#E60800
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FC87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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