#F987F9#F987F9

#F987F9 is a light, vivid purple. Relative luminance 0.443; OKLCH L 78.7% C 0.195 H 327.2°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#F987F9
RGBrgb(249, 135, 249)
HSLhsl(300, 90%, 75%)
HSVhsv(300, 46%, 98%)
CMYKcmyk(0%, 45.8%, 0%, 2.4%)
CIE-LABlab(72.44, 58.94, -38.46)
CIE-LCHlch(72.44, 70.38, 326.87°)
OKLaboklab(78.66% 0.1637 -0.1054)
OKLCHoklch(78.66% 0.195 327.2)
XYZxyz(64.8286, 44.3106, 94.7422)
Luminance0.4431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F987F9 #87F987
analogous
#C087F9 #F987F9 #F987C0
triadic
#F987F9 #F9F987 #87F9F9
tetradic
#F987F9 #F9C087 #87F987 #87C0F9
square
#F987F9 #F9C087 #87F987 #87C0F9
split-complementary
#F987F9 #C0F987 #87F9C0
monochromatic
#F312F3 #F64DF6 #F987F9 #FCC1FC #FEE2FE

Accessibility & contrast

On white

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

On black

9.86
#F987F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F987F9
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F987F9#FFFFFF#000000##000000
##F987F91.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FD
Deuteranopia (green-blind)
#9EB7F5
Tritanopia (blue-blind)
#FF93B5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f987f9;
/* rgb */ color: rgb(249, 135, 249);
/* oklch */ color: oklch(78.7% 0.195 327.2);
Tailwind
colors: {
  custom: {
    50: '#fdadfb',
    500: '#f987f9',
    950: '#000000',
  },
}
SCSS
$custom: #f987f9;
$custom-light: #fdadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#f987f9",
  "rgb": {
    "r": 249,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 300,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78661,
    "c": 0.19464,
    "h": 327.2
  },
  "luminance": 0.44307
}

Semantic roles & 50–950 ramp

primary
#F987F9
secondary
#D5F6D5
accent
#E60000
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181017
muted
#867F85

Preview Lab

Preview with #F987F9

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

Preview Lab → · Contrast checker → · Palette generator →

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