#F97EFD#F97EFD

#F97EFD is a light, highly saturated purple. Relative luminance 0.422; OKLCH L 77.6% C 0.212 H 326.2°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#F97EFD
RGBrgb(249, 126, 253)
HSLhsl(298, 97%, 74%)
HSVhsv(298, 50%, 99%)
CMYKcmyk(1.6%, 50.2%, 0%, 0.8%)
CIE-LABlab(70.98, 63.92, -42.92)
CIE-LCHlch(70.98, 76.99, 326.12°)
OKLaboklab(77.64% 0.1763 -0.118)
OKLCHoklch(77.64% 0.212 326.2)
XYZxyz(64.2561, 42.1567, 97.6620)
Luminance0.4215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97EFD #82FD7E
analogous
#BA7EFD #F97EFD #FD7EC2
triadic
#F97EFD #FDF97E #7EFDF9
tetradic
#F97EFD #FDBA7E #82FD7E #7EC2FD
square
#F97EFD #FDBA7E #82FD7E #7EC2FD
split-complementary
#F97EFD #C2FD7E #7EFDBA
monochromatic
#F305FB #F642FC #F97EFD #FCBAFE #FEE1FF

Accessibility & contrast

On white

2.23
#F97EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#F97EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97EFD
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97EFD#FFFFFF#000000##000000
##F97EFD1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#96B3F9
Tritanopia (blue-blind)
#FF8DB2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f97efd;
/* rgb */ color: rgb(249, 126, 253);
/* oklch */ color: oklch(77.6% 0.212 326.2);
Tailwind
colors: {
  custom: {
    50: '#fea8fe',
    500: '#f97efd',
    950: '#000000',
  },
}
SCSS
$custom: #f97efd;
$custom-light: #fea8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f97efd",
  "rgb": {
    "r": 249,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 298.11,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77638,
    "c": 0.21216,
    "h": 326.2
  },
  "luminance": 0.42153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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