#F97AFD#F97AFD

#F97AFD is a light, highly saturated purple. Relative luminance 0.412; OKLCH L 77.1% C 0.218 H 326.3°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#F97AFD
RGBrgb(249, 122, 253)
HSLhsl(298, 97%, 74%)
HSVhsv(298, 52%, 99%)
CMYKcmyk(1.6%, 51.8%, 0%, 0.8%)
CIE-LABlab(70.28, 65.77, -44.00)
CIE-LCHlch(70.28, 79.13, 326.22°)
OKLaboklab(77.13% 0.1815 -0.1211)
OKLCHoklch(77.13% 0.218 326.3)
XYZxyz(63.7548, 41.1542, 97.4949)
Luminance0.4115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97AFD #7EFD7A
analogous
#B77AFD #F97AFD #FD7ABF
triadic
#F97AFD #FDF97A #7AFDF9
tetradic
#F97AFD #FDB77A #7EFD7A #7ABFFD
square
#F97AFD #FDB77A #7EFD7A #7ABFFD
split-complementary
#F97AFD #BFFD7A #7AFDB7
monochromatic
#F104F9 #F63EFC #F97AFD #FCB6FE #FEE1FF

Accessibility & contrast

On white

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

On black

9.23
#F97AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97AFD
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97AFD#FFFFFF#000000##000000
##F97AFD1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#93B2F9
Tritanopia (blue-blind)
#FF89B1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f97afd;
/* rgb */ color: rgb(249, 122, 253);
/* oklch */ color: oklch(77.1% 0.218 326.3);
Tailwind
colors: {
  custom: {
    50: '#fea5fe',
    500: '#f97afd',
    950: '#000000',
  },
}
SCSS
$custom: #f97afd;
$custom-light: #fea5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f97afd",
  "rgb": {
    "r": 249,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 298.168,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77126,
    "c": 0.21819,
    "h": 326.3
  },
  "luminance": 0.41151
}

Semantic roles & 50–950 ramp

primary
#F97AFD
secondary
#D5F7D4
accent
#E60007
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F97AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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