#F987EA#F987EA

#F987EA is a light, vivid purple. Relative luminance 0.434; OKLCH L 78.0% C 0.182 H 332.2°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#F987EA
RGBrgb(249, 135, 234)
HSLhsl(308, 90%, 75%)
HSVhsv(308, 46%, 98%)
CMYKcmyk(0%, 45.8%, 6%, 2.4%)
CIE-LABlab(71.83, 56.39, -31.19)
CIE-LCHlch(71.83, 64.44, 331.05°)
OKLaboklab(78.02% 0.1608 -0.0847)
OKLCHoklch(78.02% 0.182 332.2)
XYZxyz(62.5818, 43.4119, 82.9090)
Luminance0.4341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F987EA #87F996
analogous
#CF87F9 #F987EA #F987B1
triadic
#F987EA #EAF987 #87EAF9
tetradic
#F987EA #F9CF87 #87F996 #87B1F9
square
#F987EA #F9CF87 #87F996 #87B1F9
split-complementary
#F987EA #B1F987 #87F9CF
monochromatic
#F312D6 #F64DE0 #F987EA #FCC1F4 #FEE2FA

Accessibility & contrast

On white

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

On black

9.68
#F987EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F987EA
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F987EA#FFFFFF#000000##000000
##F987EA1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f987ea;
/* rgb */ color: rgb(249, 135, 234);
/* oklch */ color: oklch(78.0% 0.182 332.2);
Tailwind
colors: {
  custom: {
    50: '#fdadf1',
    500: '#f987ea',
    950: '#000000',
  },
}
SCSS
$custom: #f987ea;
$custom-light: #fdadf1;
$custom-dark: #000000;
JSON
{
  "hex": "#f987ea",
  "rgb": {
    "r": 249,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 307.895,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78015,
    "c": 0.18176,
    "h": 332.2
  },
  "luminance": 0.43408
}

Semantic roles & 50–950 ramp

primary
#F987EA
secondary
#D5F6DA
accent
#E61E00
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181016
muted
#867F84

Preview Lab

Preview with #F987EA

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

Preview Lab → · Contrast checker → · Palette generator →

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