#F97DFB#F97DFB

#F97DFB is a light, highly saturated purple. Relative luminance 0.418; OKLCH L 77.4% C 0.212 H 326.8°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#F97DFB
RGBrgb(249, 125, 251)
HSLhsl(299, 94%, 74%)
HSVhsv(299, 50%, 98%)
CMYKcmyk(0.8%, 50.2%, 0%, 1.6%)
CIE-LABlab(70.72, 64.04, -42.24)
CIE-LCHlch(70.72, 76.71, 326.59°)
OKLaboklab(77.42% 0.1773 -0.1161)
OKLCHoklch(77.42% 0.212 326.8)
XYZxyz(63.8119, 41.7755, 95.9504)
Luminance0.4177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97DFB #7FFB7D
analogous
#BA7DFB #F97DFB #FB7DBE
triadic
#F97DFB #FBF97D #7DFBF9
tetradic
#F97DFB #FBBA7D #7FFB7D #7DBEFB
square
#F97DFB #FBBA7D #7FFB7D #7DBEFB
split-complementary
#F97DFB #BEFB7D #7DFBBA
monochromatic
#F208F6 #F642F9 #F97DFB #FCB8FD #FEE1FE

Accessibility & contrast

On white

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

On black

9.35
#F97DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97DFB
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97DFB#FFFFFF#000000##000000
##F97DFB1.002.249.359.35
#FFFFFF2.241.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#96B3F7
Tritanopia (blue-blind)
#FF8BB1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f97dfb;
/* rgb */ color: rgb(249, 125, 251);
/* oklch */ color: oklch(77.4% 0.212 326.8);
Tailwind
colors: {
  custom: {
    50: '#fea7fd',
    500: '#f97dfb',
    950: '#000000',
  },
}
SCSS
$custom: #f97dfb;
$custom-light: #fea7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f97dfb",
  "rgb": {
    "r": 249,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 299.048,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77416,
    "c": 0.21193,
    "h": 326.8
  },
  "luminance": 0.41772
}

Semantic roles & 50–950 ramp

primary
#F97DFB
secondary
#D5F6D5
accent
#E60004
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F97DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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