#F97EFB#F97EFB

#F97EFB is a light, highly saturated purple. Relative luminance 0.420; OKLCH L 77.5% C 0.210 H 326.8°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#F97EFB
RGBrgb(249, 126, 251)
HSLhsl(299, 94%, 74%)
HSVhsv(299, 50%, 98%)
CMYKcmyk(0.8%, 49.8%, 0%, 1.6%)
CIE-LABlab(70.89, 63.57, -41.96)
CIE-LCHlch(70.89, 76.17, 326.57°)
OKLaboklab(77.55% 0.176 -0.1153)
OKLCHoklch(77.55% 0.21 326.8)
XYZxyz(63.9392, 42.0300, 95.9928)
Luminance0.4203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97EFB #80FB7E
analogous
#BB7EFB #F97EFB #FB7EBF
triadic
#F97EFB #FBF97E #7EFBF9
tetradic
#F97EFB #FBBB7E #80FB7E #7EBFFB
square
#F97EFB #FBBB7E #80FB7E #7EBFFB
split-complementary
#F97EFB #BFFB7E #7EFBBB
monochromatic
#F308F7 #F643F9 #F97EFB #FCB9FD #FEE1FE

Accessibility & contrast

On white

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

On black

9.41
#F97EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97EFB
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97EFB#FFFFFF#000000##000000
##F97EFB1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FF
Deuteranopia (green-blind)
#97B3F7
Tritanopia (blue-blind)
#FF8CB1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f97efb;
/* rgb */ color: rgb(249, 126, 251);
/* oklch */ color: oklch(77.5% 0.210 326.8);
Tailwind
colors: {
  custom: {
    50: '#fea8fd',
    500: '#f97efb',
    950: '#000000',
  },
}
SCSS
$custom: #f97efb;
$custom-light: #fea8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f97efb",
  "rgb": {
    "r": 249,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 299.04,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77545,
    "c": 0.21041,
    "h": 326.8
  },
  "luminance": 0.42026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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