#FC87F5#FC87F5

#FC87F5 is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.8% C 0.193 H 329.5°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#FC87F5
RGBrgb(252, 135, 245)
HSLhsl(304, 95%, 76%)
HSVhsv(304, 46%, 99%)
CMYKcmyk(0%, 46.4%, 2.8%, 1.2%)
CIE-LABlab(72.64, 59.10, -35.93)
CIE-LCHlch(72.64, 69.16, 328.70°)
OKLaboklab(78.84% 0.1662 -0.0981)
OKLCHoklch(78.84% 0.193 329.5)
XYZxyz(65.2895, 44.6196, 91.5420)
Luminance0.4462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC87F5 #87FC8E
analogous
#C887FC #FC87F5 #FC87BA
triadic
#FC87F5 #F5FC87 #87F5FC
tetradic
#FC87F5 #FCC887 #87FC8E #87BAFC
square
#FC87F5 #FCC887 #87FC8E #87BAFC
split-complementary
#FC87F5 #BAFC87 #87FCC8
monochromatic
#F910EB #FB4BF0 #FC87F5 #FDC3FA #FEE1FD

Accessibility & contrast

On white

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

On black

9.92
#FC87F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC87F5
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC87F5#FFFFFF#000000##000000
##FC87F51.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fc87f5;
/* rgb */ color: rgb(252, 135, 245);
/* oklch */ color: oklch(78.8% 0.193 329.5);
Tailwind
colors: {
  custom: {
    50: '#ffadf8',
    500: '#fc87f5',
    950: '#000000',
  },
}
SCSS
$custom: #fc87f5;
$custom-light: #ffadf8;
$custom-dark: #000000;
JSON
{
  "hex": "#fc87f5",
  "rgb": {
    "r": 252,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 303.59,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78837,
    "c": 0.19301,
    "h": 329.5
  },
  "luminance": 0.44616
}

Semantic roles & 50–950 ramp

primary
#FC87F5
secondary
#D5F6D7
accent
#E60E00
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181117
muted
#868085

Preview Lab

Preview with #FC87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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