#F97AFE#F97AFE

#F97AFE is a light, highly saturated purple. Relative luminance 0.412; OKLCH L 77.2% C 0.219 H 326.0°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#F97AFE
RGBrgb(249, 122, 254)
HSLhsl(298, 99%, 74%)
HSVhsv(298, 52%, 100%)
CMYKcmyk(2%, 52%, 0%, 0.4%)
CIE-LABlab(70.33, 65.94, -44.48)
CIE-LCHlch(70.33, 79.54, 326.00°)
OKLaboklab(77.17% 0.1816 -0.1225)
OKLCHoklch(77.17% 0.219 326)
XYZxyz(63.9145, 41.2181, 98.3360)
Luminance0.4122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97AFE #7FFE7A
analogous
#B77AFE #F97AFE #FE7AC1
triadic
#F97AFE #FEF97A #7AFEF9
tetradic
#F97AFE #FEB77A #7FFE7A #7AC1FE
square
#F97AFE #FEB77A #7FFE7A #7AC1FE
split-complementary
#F97AFE #C1FE7A #7AFEB7
monochromatic
#F202FC #F63DFE #F97AFE #FCB7FE #FEE1FF

Accessibility & contrast

On white

2.27
#F97AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#F97AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97AFE
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97AFE#FFFFFF#000000##000000
##F97AFE1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#92B2FA
Tritanopia (blue-blind)
#FF8AB1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f97afe;
/* rgb */ color: rgb(249, 122, 254);
/* oklch */ color: oklch(77.2% 0.219 326.0);
Tailwind
colors: {
  custom: {
    50: '#fea5ff',
    500: '#f97afe',
    950: '#000000',
  },
}
SCSS
$custom: #f97afe;
$custom-light: #fea5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f97afe",
  "rgb": {
    "r": 249,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 297.727,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77174,
    "c": 0.21905,
    "h": 326
  },
  "luminance": 0.41215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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