#F987EB#F987EB

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

Color values

HEX#F987EB
RGBrgb(249, 135, 235)
HSLhsl(307, 90%, 75%)
HSVhsv(307, 46%, 98%)
CMYKcmyk(0%, 45.8%, 5.6%, 2.4%)
CIE-LABlab(71.87, 56.56, -31.68)
CIE-LCHlch(71.87, 64.83, 330.74°)
OKLaboklab(78.06% 0.161 -0.0861)
OKLCHoklch(78.06% 0.183 331.9)
XYZxyz(62.7259, 43.4695, 83.6677)
Luminance0.4347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F987EB #87F995
analogous
#CE87F9 #F987EB #F987B2
triadic
#F987EB #EBF987 #87EBF9
tetradic
#F987EB #F9CE87 #87F995 #87B2F9
square
#F987EB #F9CE87 #87F995 #87B2F9
split-complementary
#F987EB #B2F987 #87F9CE
monochromatic
#F312D8 #F64DE1 #F987EB #FCC1F5 #FEE2FA

Accessibility & contrast

On white

2.17
#F987EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#F987EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F987EB
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F987EB#FFFFFF#000000##000000
##F987EB1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6EE
Deuteranopia (green-blind)
#A3B6E8
Tritanopia (blue-blind)
#FF8FAE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f987eb;
/* rgb */ color: rgb(249, 135, 235);
/* oklch */ color: oklch(78.1% 0.183 331.9);
Tailwind
colors: {
  custom: {
    50: '#fdadf1',
    500: '#f987eb',
    950: '#000000',
  },
}
SCSS
$custom: #f987eb;
$custom-light: #fdadf1;
$custom-dark: #000000;
JSON
{
  "hex": "#f987eb",
  "rgb": {
    "r": 249,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 307.368,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78057,
    "c": 0.18258,
    "h": 331.9
  },
  "luminance": 0.43466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F987EB

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

Preview Lab → · Contrast checker → · Palette generator →

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