#F978E4#F978E4

#F978E4 is a light, highly saturated purple. Relative luminance 0.392; OKLCH L 75.7% C 0.201 H 333.9°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#F978E4
RGBrgb(249, 120, 228)
HSLhsl(310, 91%, 72%)
HSVhsv(310, 52%, 98%)
CMYKcmyk(0%, 51.8%, 8.4%, 2.4%)
CIE-LABlab(68.88, 62.55, -32.45)
CIE-LCHlch(68.88, 70.47, 332.58°)
OKLaboklab(75.74% 0.1802 -0.0881)
OKLCHoklch(75.74% 0.201 333.9)
XYZxyz(59.7870, 39.1782, 77.7969)
Luminance0.3917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F978E4 #78F98D
analogous
#CD78F9 #F978E4 #F978A4
triadic
#F978E4 #E4F978 #78E4F9
tetradic
#F978E4 #F9CD78 #78F98D #78A4F9
square
#F978E4 #F9CD78 #78F98D #78A4F9
split-complementary
#F978E4 #A4F978 #78F9CD
monochromatic
#EC0AC7 #F63DD8 #F978E4 #FCB3F0 #FEE2F9

Accessibility & contrast

On white

2.38
#F978E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#F978E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F978E4
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F978E4#FFFFFF#000000##000000
##F978E41.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#779CE8
Deuteranopia (green-blind)
#9CAFE0
Tritanopia (blue-blind)
#FF80A4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f978e4;
/* rgb */ color: rgb(249, 120, 228);
/* oklch */ color: oklch(75.7% 0.201 333.9);
Tailwind
colors: {
  custom: {
    50: '#fea4ec',
    500: '#f978e4',
    950: '#000000',
  },
}
SCSS
$custom: #f978e4;
$custom-light: #fea4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f978e4",
  "rgb": {
    "r": 249,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 309.767,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75744,
    "c": 0.20061,
    "h": 333.9
  },
  "luminance": 0.39174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F978E4

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

Preview Lab → · Contrast checker → · Palette generator →

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