#F97DE7#F97DE7

#F97DE7 is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.5% C 0.195 H 333.1°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#F97DE7
RGBrgb(249, 125, 231)
HSLhsl(309, 91%, 73%)
HSVhsv(309, 50%, 98%)
CMYKcmyk(0%, 49.8%, 7.2%, 2.4%)
CIE-LABlab(69.88, 60.70, -32.56)
CIE-LCHlch(69.88, 68.88, 331.79°)
OKLaboklab(76.53% 0.174 -0.0885)
OKLCHoklch(76.53% 0.195 333.1)
XYZxyz(60.8242, 40.5804, 80.2149)
Luminance0.4058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97DE7 #7DF98F
analogous
#CD7DF9 #F97DE7 #F97DA9
triadic
#F97DE7 #E7F97D #7DE7F9
tetradic
#F97DE7 #F9CD7D #7DF98F #7DA9F9
square
#F97DE7 #F9CD7D #7DF98F #7DA9F9
split-complementary
#F97DE7 #A9F97D #7DF9CD
monochromatic
#F00BCF #F642DC #F97DE7 #FCB7F2 #FEE2FA

Accessibility & contrast

On white

2.30
#F97DE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#F97DE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97DE7
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97DE7#FFFFFF#000000##000000
##F97DE71.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9FEB
Deuteranopia (green-blind)
#9EB1E3
Tritanopia (blue-blind)
#FF85A8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f97de7;
/* rgb */ color: rgb(249, 125, 231);
/* oklch */ color: oklch(76.5% 0.195 333.1);
Tailwind
colors: {
  custom: {
    50: '#fea7ef',
    500: '#f97de7',
    950: '#000000',
  },
}
SCSS
$custom: #f97de7;
$custom-light: #fea7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f97de7",
  "rgb": {
    "r": 249,
    "g": 125,
    "b": 231
  },
  "hsl": {
    "h": 308.71,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76525,
    "c": 0.19523,
    "h": 333.1
  },
  "luminance": 0.40576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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