#F97DFE#F97DFE

#F97DFE is a light, highly saturated purple. Relative luminance 0.420; OKLCH L 77.6% C 0.215 H 325.9°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#F97DFE
RGBrgb(249, 125, 254)
HSLhsl(298, 98%, 74%)
HSVhsv(298, 51%, 100%)
CMYKcmyk(2%, 50.8%, 0%, 0.4%)
CIE-LABlab(70.85, 64.56, -43.67)
CIE-LCHlch(70.85, 77.94, 325.93°)
OKLaboklab(77.56% 0.1777 -0.1202)
OKLCHoklch(77.56% 0.215 325.9)
XYZxyz(64.2886, 41.9662, 98.4607)
Luminance0.4196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97DFE #82FE7D
analogous
#B87DFE #F97DFE #FE7DC3
triadic
#F97DFE #FEF97D #7DFEF9
tetradic
#F97DFE #FEB87D #82FE7D #7DC3FE
square
#F97DFE #FEB87D #82FE7D #7DC3FE
split-complementary
#F97DFE #C3FE7D #7DFEB8
monochromatic
#F304FD #F640FE #F97DFE #FCBAFE #FEE1FF

Accessibility & contrast

On white

2.24
#F97DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#F97DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97DFE
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97DFE#FFFFFF#000000##000000
##F97DFE1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#95B3FA
Tritanopia (blue-blind)
#FF8CB2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f97dfe;
/* rgb */ color: rgb(249, 125, 254);
/* oklch */ color: oklch(77.6% 0.215 325.9);
Tailwind
colors: {
  custom: {
    50: '#fea7ff',
    500: '#f97dfe',
    950: '#000000',
  },
}
SCSS
$custom: #f97dfe;
$custom-light: #fea7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f97dfe",
  "rgb": {
    "r": 249,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 297.674,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77556,
    "c": 0.21455,
    "h": 325.9
  },
  "luminance": 0.41963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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