#F987EC#F987EC

#F987EC is a light, vivid purple. Relative luminance 0.435; OKLCH L 78.1% C 0.183 H 331.5°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#F987EC
RGBrgb(249, 135, 236)
HSLhsl(307, 90%, 75%)
HSVhsv(307, 46%, 98%)
CMYKcmyk(0%, 45.8%, 5.2%, 2.4%)
CIE-LABlab(71.91, 56.72, -32.17)
CIE-LCHlch(71.91, 65.21, 330.44°)
OKLaboklab(78.1% 0.1612 -0.0874)
OKLCHoklch(78.1% 0.183 331.5)
XYZxyz(62.8707, 43.5275, 84.4307)
Luminance0.4352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F987EC #87F994
analogous
#CD87F9 #F987EC #F987B3
triadic
#F987EC #ECF987 #87ECF9
tetradic
#F987EC #F9CD87 #87F994 #87B3F9
square
#F987EC #F9CD87 #87F994 #87B3F9
split-complementary
#F987EC #B3F987 #87F9CD
monochromatic
#F312DA #F64DE3 #F987EC #FCC1F5 #FEE2FA

Accessibility & contrast

On white

2.16
#F987EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#F987EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F987EC
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F987EC#FFFFFF#000000##000000
##F987EC1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6EF
Deuteranopia (green-blind)
#A3B6E9
Tritanopia (blue-blind)
#FF8FAF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f987ec;
/* rgb */ color: rgb(249, 135, 236);
/* oklch */ color: oklch(78.1% 0.183 331.5);
Tailwind
colors: {
  custom: {
    50: '#fdadf2',
    500: '#f987ec',
    950: '#000000',
  },
}
SCSS
$custom: #f987ec;
$custom-light: #fdadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#f987ec",
  "rgb": {
    "r": 249,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 306.842,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78099,
    "c": 0.18342,
    "h": 331.5
  },
  "luminance": 0.43524
}

Semantic roles & 50–950 ramp

primary
#F987EC
secondary
#D5F6D9
accent
#E61A00
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181017
muted
#867F85

Preview Lab

Preview with #F987EC

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

Preview Lab → · Contrast checker → · Palette generator →

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