#F978E7#F978E7

#F978E7 is a light, highly saturated purple. Relative luminance 0.393; OKLCH L 75.9% C 0.203 H 333.0°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#F978E7
RGBrgb(249, 120, 231)
HSLhsl(308, 91%, 72%)
HSVhsv(308, 52%, 98%)
CMYKcmyk(0%, 51.8%, 7.2%, 2.4%)
CIE-LABlab(69.00, 63.03, -33.92)
CIE-LCHlch(69.00, 71.58, 331.71°)
OKLaboklab(75.87% 0.1808 -0.0923)
OKLCHoklch(75.87% 0.203 333)
XYZxyz(60.2071, 39.3462, 80.0092)
Luminance0.3934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F978E7 #78F98A
analogous
#CA78F9 #F978E7 #F978A7
triadic
#F978E7 #E7F978 #78E7F9
tetradic
#F978E7 #F9CA78 #78F98A #78A7F9
square
#F978E7 #F9CA78 #78F98A #78A7F9
split-complementary
#F978E7 #A7F978 #78F9CA
monochromatic
#EC0ACD #F63DDD #F978E7 #FCB3F1 #FEE2FA

Accessibility & contrast

On white

2.37
#F978E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#F978E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F978E7
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F978E7#FFFFFF#000000##000000
##F978E71.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#759DEB
Deuteranopia (green-blind)
#9BAFE3
Tritanopia (blue-blind)
#FF81A5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f978e7;
/* rgb */ color: rgb(249, 120, 231);
/* oklch */ color: oklch(75.9% 0.203 333.0);
Tailwind
colors: {
  custom: {
    50: '#fea4ef',
    500: '#f978e7',
    950: '#000000',
  },
}
SCSS
$custom: #f978e7;
$custom-light: #fea4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f978e7",
  "rgb": {
    "r": 249,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 308.372,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75874,
    "c": 0.20296,
    "h": 333
  },
  "luminance": 0.39342
}

Semantic roles & 50–950 ramp

primary
#F978E7
secondary
#D5F6DA
accent
#E62000
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F978E7

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

Preview Lab → · Contrast checker → · Palette generator →

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