#F987FE#F987FE

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

Color values

HEX#F987FE
RGBrgb(249, 135, 254)
HSLhsl(297, 98%, 76%)
HSVhsv(297, 47%, 100%)
CMYKcmyk(2%, 46.9%, 0%, 0.4%)
CIE-LABlab(72.65, 59.82, -40.86)
CIE-LCHlch(72.65, 72.44, 325.67°)
OKLaboklab(78.89% 0.1645 -0.1122)
OKLCHoklch(78.89% 0.199 325.7)
XYZxyz(65.6189, 44.6267, 98.9041)
Luminance0.4462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F987FE #8CFE87
analogous
#BE87FE #F987FE #FE87C8
triadic
#F987FE #FEF987 #87FEF9
tetradic
#F987FE #FEBE87 #8CFE87 #87C8FE
square
#F987FE #FEBE87 #8CFE87 #87C8FE
split-complementary
#F987FE #C8FE87 #87FEBE
monochromatic
#F30EFD #F64AFD #F987FE #FCC4FF #FDE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F987FE#FFFFFF#000000##000000
##F987FE1.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)
#7AA9FF
Deuteranopia (green-blind)
#9CB7FA
Tritanopia (blue-blind)
#FE94B7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f987fe;
/* rgb */ color: rgb(249, 135, 254);
/* oklch */ color: oklch(78.9% 0.199 325.7);
Tailwind
colors: {
  custom: {
    50: '#fdadff',
    500: '#f987fe',
    950: '#000000',
  },
}
SCSS
$custom: #f987fe;
$custom-light: #fdadff;
$custom-dark: #000000;
JSON
{
  "hex": "#f987fe",
  "rgb": {
    "r": 249,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 297.479,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78885,
    "c": 0.19911,
    "h": 325.7
  },
  "luminance": 0.44623
}

Semantic roles & 50–950 ramp

primary
#F987FE
secondary
#D5F7D4
accent
#E6000A
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181118
muted
#868086

Preview Lab

Preview with #F987FE

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

Preview Lab → · Contrast checker → · Palette generator →

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