#FC87FE#FC87FE

#FC87FE is a light, highly saturated purple. Relative luminance 0.452; OKLCH L 79.2% C 0.201 H 326.6°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#FC87FE
RGBrgb(252, 135, 254)
HSLhsl(299, 98%, 76%)
HSVhsv(299, 47%, 100%)
CMYKcmyk(0.8%, 46.9%, 0%, 0.4%)
CIE-LABlab(73.01, 60.64, -40.26)
CIE-LCHlch(73.01, 72.79, 326.42°)
OKLaboklab(79.24% 0.1678 -0.1104)
OKLCHoklch(79.24% 0.201 326.6)
XYZxyz(66.6970, 45.1826, 98.9547)
Luminance0.4518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC87FE #89FE87
analogous
#C187FE #FC87FE #FE87C5
triadic
#FC87FE #FEFC87 #87FEFC
tetradic
#FC87FE #FEC187 #89FE87 #87C5FE
square
#FC87FE #FEC187 #89FE87 #87C5FE
split-complementary
#FC87FE #C5FE87 #87FEC1
monochromatic
#F90EFD #FA4AFD #FC87FE #FEC4FF #FEE1FF

Accessibility & contrast

On white

2.09
#FC87FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#FC87FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC87FE
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC87FE#FFFFFF#000000##000000
##FC87FE1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#9EB9FA
Tritanopia (blue-blind)
#FF94B7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #fc87fe;
/* rgb */ color: rgb(252, 135, 254);
/* oklch */ color: oklch(79.2% 0.201 326.6);
Tailwind
colors: {
  custom: {
    50: '#ffaeff',
    500: '#fc87fe',
    950: '#000000',
  },
}
SCSS
$custom: #fc87fe;
$custom-light: #ffaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#fc87fe",
  "rgb": {
    "r": 252,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 298.992,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79235,
    "c": 0.20087,
    "h": 326.6
  },
  "luminance": 0.45179
}

Semantic roles & 50–950 ramp

primary
#FC87FE
secondary
#D5F7D4
accent
#E60004
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181118
muted
#868086

Preview Lab

Preview with #FC87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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