#F97AF7#F97AF7

#F97AF7 is a light, highly saturated purple. Relative luminance 0.408; OKLCH L 76.8% C 0.213 H 328.0°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#F97AF7
RGBrgb(249, 122, 247)
HSLhsl(301, 91%, 73%)
HSVhsv(301, 51%, 98%)
CMYKcmyk(0%, 51%, 0.8%, 2.4%)
CIE-LABlab(70.02, 64.75, -41.14)
CIE-LCHlch(70.02, 76.71, 327.57°)
OKLaboklab(76.85% 0.1807 -0.1129)
OKLCHoklch(76.85% 0.213 328)
XYZxyz(62.8140, 40.7779, 92.5400)
Luminance0.4077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97AF7 #7AF97C
analogous
#BC7AF9 #F97AF7 #F97AB7
triadic
#F97AF7 #F7F97A #7AF7F9
tetradic
#F97AF7 #F9BC7A #7AF97C #7AB7F9
square
#F97AF7 #F9BC7A #7AF97C #7AB7F9
split-complementary
#F97AF7 #B7F97A #7AF9BC
monochromatic
#EE0BEA #F63FF3 #F97AF7 #FCB5FB #FEE2FD

Accessibility & contrast

On white

2.29
#F97AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#F97AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97AF7
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97AF7#FFFFFF#000000##000000
##F97AF71.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA0FB
Deuteranopia (green-blind)
#96B1F3
Tritanopia (blue-blind)
#FF87AE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f97af7;
/* rgb */ color: rgb(249, 122, 247);
/* oklch */ color: oklch(76.8% 0.213 328.0);
Tailwind
colors: {
  custom: {
    50: '#fea5fa',
    500: '#f97af7',
    950: '#000000',
  },
}
SCSS
$custom: #f97af7;
$custom-light: #fea5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f97af7",
  "rgb": {
    "r": 249,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 300.945,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76846,
    "c": 0.21304,
    "h": 328
  },
  "luminance": 0.40774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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