#F97DEF#F97DEF

#F97DEF is a light, highly saturated purple. Relative luminance 0.410; OKLCH L 76.9% C 0.202 H 330.4°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#F97DEF
RGBrgb(249, 125, 239)
HSLhsl(305, 91%, 73%)
HSVhsv(305, 50%, 98%)
CMYKcmyk(0%, 49.8%, 4%, 2.4%)
CIE-LABlab(70.21, 62.01, -36.46)
CIE-LCHlch(70.21, 71.93, 329.55°)
OKLaboklab(76.87% 0.1755 -0.0996)
OKLCHoklch(76.87% 0.202 330.4)
XYZxyz(61.9800, 41.0427, 86.3021)
Luminance0.4104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97DEF #7DF987
analogous
#C57DF9 #F97DEF #F97DB1
triadic
#F97DEF #EFF97D #7DEFF9
tetradic
#F97DEF #F9C57D #7DF987 #7DB1F9
square
#F97DEF #F9C57D #7DF987 #7DB1F9
split-complementary
#F97DEF #B1F97D #7DF9C5
monochromatic
#F00BDE #F642E8 #F97DEF #FCB7F6 #FEE2FB

Accessibility & contrast

On white

2.28
#F97DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#F97DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97DEF
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97DEF#FFFFFF#000000##000000
##F97DEF1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F3
Deuteranopia (green-blind)
#9BB2EB
Tritanopia (blue-blind)
#FF87AB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f97def;
/* rgb */ color: rgb(249, 125, 239);
/* oklch */ color: oklch(76.9% 0.202 330.4);
Tailwind
colors: {
  custom: {
    50: '#fea7f4',
    500: '#f97def',
    950: '#000000',
  },
}
SCSS
$custom: #f97def;
$custom-light: #fea7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f97def",
  "rgb": {
    "r": 249,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 304.839,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76872,
    "c": 0.20175,
    "h": 330.4
  },
  "luminance": 0.41039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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