#F97DF7#F97DF7

#F97DF7 is a light, highly saturated purple. Relative luminance 0.415; OKLCH L 77.2% C 0.208 H 328.0°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#F97DF7
RGBrgb(249, 125, 247)
HSLhsl(301, 91%, 73%)
HSVhsv(301, 50%, 98%)
CMYKcmyk(0%, 49.8%, 0.8%, 2.4%)
CIE-LABlab(70.54, 63.35, -40.32)
CIE-LCHlch(70.54, 75.10, 327.53°)
OKLaboklab(77.23% 0.1767 -0.1106)
OKLCHoklch(77.23% 0.208 328)
XYZxyz(63.1881, 41.5260, 92.6647)
Luminance0.4152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97DF7 #7DF97F
analogous
#BD7DF9 #F97DF7 #F97DB9
triadic
#F97DF7 #F7F97D #7DF7F9
tetradic
#F97DF7 #F9BD7D #7DF97F #7DB9F9
square
#F97DF7 #F9BD7D #7DF97F #7DB9F9
split-complementary
#F97DF7 #B9F97D #7DF9BD
monochromatic
#F00BED #F642F3 #F97DF7 #FCB7FB #FEE2FD

Accessibility & contrast

On white

2.26
#F97DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#F97DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97DF7
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97DF7#FFFFFF#000000##000000
##F97DF71.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FB
Deuteranopia (green-blind)
#98B2F3
Tritanopia (blue-blind)
#FF8AAF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f97df7;
/* rgb */ color: rgb(249, 125, 247);
/* oklch */ color: oklch(77.2% 0.208 328.0);
Tailwind
colors: {
  custom: {
    50: '#fea7fa',
    500: '#f97df7',
    950: '#000000',
  },
}
SCSS
$custom: #f97df7;
$custom-light: #fea7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f97df7",
  "rgb": {
    "r": 249,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 300.968,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77232,
    "c": 0.20849,
    "h": 328
  },
  "luminance": 0.41522
}

Semantic roles & 50–950 ramp

primary
#F97DF7
secondary
#D5F6D6
accent
#E60400
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F97DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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