#F978EC#F978EC

#F978EC is a light, highly saturated purple. Relative luminance 0.396; OKLCH L 76.1% C 0.207 H 331.3°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#F978EC
RGBrgb(249, 120, 236)
HSLhsl(306, 91%, 72%)
HSVhsv(306, 52%, 98%)
CMYKcmyk(0%, 51.8%, 5.2%, 2.4%)
CIE-LABlab(69.21, 63.84, -36.36)
CIE-LCHlch(69.21, 73.47, 330.33°)
OKLaboklab(76.09% 0.1816 -0.0992)
OKLCHoklch(76.09% 0.207 331.3)
XYZxyz(60.9234, 39.6327, 83.7816)
Luminance0.3963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F978EC #78F985
analogous
#C678F9 #F978EC #F978AB
triadic
#F978EC #ECF978 #78ECF9
tetradic
#F978EC #F9C678 #78F985 #78ABF9
square
#F978EC #F9C678 #78F985 #78ABF9
split-complementary
#F978EC #ABF978 #78F9C6
monochromatic
#EC0AD5 #F63DE4 #F978EC #FCB3F4 #FEE2FB

Accessibility & contrast

On white

2.35
#F978EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#F978EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F978EC
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F978EC#FFFFFF#000000##000000
##F978EC1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DF0
Deuteranopia (green-blind)
#99AFE8
Tritanopia (blue-blind)
#FF82A8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f978ec;
/* rgb */ color: rgb(249, 120, 236);
/* oklch */ color: oklch(76.1% 0.207 331.3);
Tailwind
colors: {
  custom: {
    50: '#fea4f2',
    500: '#f978ec',
    950: '#000000',
  },
}
SCSS
$custom: #f978ec;
$custom-light: #fea4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f978ec",
  "rgb": {
    "r": 249,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 306.047,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76093,
    "c": 0.20696,
    "h": 331.3
  },
  "luminance": 0.39629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F978EC

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

Preview Lab → · Contrast checker → · Palette generator →

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