#F987EF#F987EF

#F987EF is a light, vivid purple. Relative luminance 0.437; OKLCH L 78.2% C 0.186 H 330.5°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#F987EF
RGBrgb(249, 135, 239)
HSLhsl(305, 90%, 75%)
HSVhsv(305, 46%, 98%)
CMYKcmyk(0%, 45.8%, 4%, 2.4%)
CIE-LABlab(72.03, 57.23, -33.63)
CIE-LCHlch(72.03, 66.38, 329.56°)
OKLaboklab(78.23% 0.1618 -0.0916)
OKLCHoklch(78.23% 0.186 330.5)
XYZxyz(63.3103, 43.7033, 86.7455)
Luminance0.4370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F987EF #87F991
analogous
#CA87F9 #F987EF #F987B6
triadic
#F987EF #EFF987 #87EFF9
tetradic
#F987EF #F9CA87 #87F991 #87B6F9
square
#F987EF #F9CA87 #87F991 #87B6F9
split-complementary
#F987EF #B6F987 #87F9CA
monochromatic
#F312DF #F64DE7 #F987EF #FCC1F7 #FEE2FB

Accessibility & contrast

On white

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

On black

9.74
#F987EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F987EF
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F987EF#FFFFFF#000000##000000
##F987EF1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A7F3
Deuteranopia (green-blind)
#A2B6EC
Tritanopia (blue-blind)
#FF90B0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f987ef;
/* rgb */ color: rgb(249, 135, 239);
/* oklch */ color: oklch(78.2% 0.186 330.5);
Tailwind
colors: {
  custom: {
    50: '#fdadf4',
    500: '#f987ef',
    950: '#000000',
  },
}
SCSS
$custom: #f987ef;
$custom-light: #fdadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#f987ef",
  "rgb": {
    "r": 249,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 305.263,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78226,
    "c": 0.18595,
    "h": 330.5
  },
  "luminance": 0.437
}

Semantic roles & 50–950 ramp

primary
#F987EF
secondary
#D5F6D8
accent
#E61400
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181017
muted
#867F85

Preview Lab

Preview with #F987EF

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

Preview Lab → · Contrast checker → · Palette generator →

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