#F987F7#F987F7

#F987F7 is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.6% C 0.193 H 327.9°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#F987F7
RGBrgb(249, 135, 247)
HSLhsl(301, 90%, 75%)
HSVhsv(301, 46%, 98%)
CMYKcmyk(0%, 45.8%, 0.8%, 2.4%)
CIE-LABlab(72.35, 58.59, -37.50)
CIE-LCHlch(72.35, 69.57, 327.38°)
OKLaboklab(78.57% 0.1633 -0.1026)
OKLCHoklch(78.57% 0.193 327.9)
XYZxyz(64.5183, 44.1865, 93.1081)
Luminance0.4418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F987F7 #87F989
analogous
#C287F9 #F987F7 #F987BE
triadic
#F987F7 #F7F987 #87F7F9
tetradic
#F987F7 #F9C287 #87F989 #87BEF9
square
#F987F7 #F9C287 #87F989 #87BEF9
split-complementary
#F987F7 #BEF987 #87F9C2
monochromatic
#F312EF #F64DF3 #F987F7 #FCC1FB #FEE2FD

Accessibility & contrast

On white

2.13
#F987F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#F987F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F987F7
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F987F7#FFFFFF#000000##000000
##F987F71.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA8FB
Deuteranopia (green-blind)
#9FB7F3
Tritanopia (blue-blind)
#FF92B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f987f7;
/* rgb */ color: rgb(249, 135, 247);
/* oklch */ color: oklch(78.6% 0.193 327.9);
Tailwind
colors: {
  custom: {
    50: '#fdadfa',
    500: '#f987f7',
    950: '#000000',
  },
}
SCSS
$custom: #f987f7;
$custom-light: #fdadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#f987f7",
  "rgb": {
    "r": 249,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 301.053,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78572,
    "c": 0.19287,
    "h": 327.9
  },
  "luminance": 0.44183
}

Semantic roles & 50–950 ramp

primary
#F987F7
secondary
#D5F6D6
accent
#E60400
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181017
muted
#867F85

Preview Lab

Preview with #F987F7

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

Preview Lab → · Contrast checker → · Palette generator →

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