#F987FC#F987FC

#F987FC is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.8% C 0.197 H 326.3°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#F987FC
RGBrgb(249, 135, 252)
HSLhsl(298, 95%, 76%)
HSVhsv(298, 46%, 99%)
CMYKcmyk(1.2%, 46.4%, 0%, 1.2%)
CIE-LABlab(72.56, 59.47, -39.90)
CIE-LCHlch(72.56, 71.61, 326.14°)
OKLaboklab(78.8% 0.1642 -0.1095)
OKLCHoklch(78.8% 0.197 326.3)
XYZxyz(65.3003, 44.4993, 97.2262)
Luminance0.4450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F987FC #8AFC87
analogous
#BE87FC #F987FC #FC87C4
triadic
#F987FC #FCF987 #87FCF9
tetradic
#F987FC #FCBE87 #8AFC87 #87C4FC
square
#F987FC #FCBE87 #8AFC87 #87C4FC
split-complementary
#F987FC #C4FC87 #87FCBE
monochromatic
#F310F9 #F64BFB #F987FC #FCC3FD #FEE1FE

Accessibility & contrast

On white

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

On black

9.90
#F987FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F987FC
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F987FC#FFFFFF#000000##000000
##F987FC1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#9CB7F8
Tritanopia (blue-blind)
#FF94B6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f987fc;
/* rgb */ color: rgb(249, 135, 252);
/* oklch */ color: oklch(78.8% 0.197 326.3);
Tailwind
colors: {
  custom: {
    50: '#fdadfd',
    500: '#f987fc',
    950: '#000000',
  },
}
SCSS
$custom: #f987fc;
$custom-light: #fdadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#f987fc",
  "rgb": {
    "r": 249,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 298.462,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78795,
    "c": 0.19731,
    "h": 326.3
  },
  "luminance": 0.44496
}

Semantic roles & 50–950 ramp

primary
#F987FC
secondary
#D5F6D5
accent
#E60006
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181118
muted
#868086

Preview Lab

Preview with #F987FC

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

Preview Lab → · Contrast checker → · Palette generator →

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