#F978EF#F978EF

#F978EF is a light, highly saturated purple. Relative luminance 0.398; OKLCH L 76.2% C 0.209 H 330.4°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#F978EF
RGBrgb(249, 120, 239)
HSLhsl(305, 91%, 72%)
HSVhsv(305, 52%, 98%)
CMYKcmyk(0%, 51.8%, 4%, 2.4%)
CIE-LABlab(69.33, 64.33, -37.82)
CIE-LCHlch(69.33, 74.62, 329.55°)
OKLaboklab(76.23% 0.1821 -0.1034)
OKLCHoklch(76.23% 0.209 330.4)
XYZxyz(61.3629, 39.8085, 86.0964)
Luminance0.3981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F978EF #78F982
analogous
#C278F9 #F978EF #F978AF
triadic
#F978EF #EFF978 #78EFF9
tetradic
#F978EF #F9C278 #78F982 #78AFF9
square
#F978EF #F9C278 #78F982 #78AFF9
split-complementary
#F978EF #AFF978 #78F9C2
monochromatic
#EC0ADB #F63DE8 #F978EF #FCB3F6 #FEE2FC

Accessibility & contrast

On white

2.34
#F978EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#F978EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F978EF
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F978EF#FFFFFF#000000##000000
##F978EF1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#98B0EB
Tritanopia (blue-blind)
#FF83A9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f978ef;
/* rgb */ color: rgb(249, 120, 239);
/* oklch */ color: oklch(76.2% 0.209 330.4);
Tailwind
colors: {
  custom: {
    50: '#fea4f4',
    500: '#f978ef',
    950: '#000000',
  },
}
SCSS
$custom: #f978ef;
$custom-light: #fea4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f978ef",
  "rgb": {
    "r": 249,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 304.651,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76227,
    "c": 0.20939,
    "h": 330.4
  },
  "luminance": 0.39805
}

Semantic roles & 50–950 ramp

primary
#F978EF
secondary
#D5F6D8
accent
#E61200
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F978EF

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

Preview Lab → · Contrast checker → · Palette generator →

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