#F97CF8#F97CF8

#F97CF8 is a light, highly saturated purple. Relative luminance 0.413; OKLCH L 77.1% C 0.211 H 327.7°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#F97CF8
RGBrgb(249, 124, 248)
HSLhsl(300, 91%, 73%)
HSVhsv(300, 50%, 98%)
CMYKcmyk(0%, 50.2%, 0.4%, 2.4%)
CIE-LABlab(70.41, 63.99, -41.07)
CIE-LCHlch(70.41, 76.04, 327.31°)
OKLaboklab(77.15% 0.1782 -0.1127)
OKLCHoklch(77.15% 0.211 327.7)
XYZxyz(63.2168, 41.3359, 93.4376)
Luminance0.4133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97CF8 #7CF97D
analogous
#BB7CF9 #F97CF8 #F97CB9
triadic
#F97CF8 #F8F97C #7CF8F9
tetradic
#F97CF8 #F9BB7C #7CF97D #7CB9F9
square
#F97CF8 #F9BB7C #7CF97D #7CB9F9
split-complementary
#F97CF8 #B9F97C #7CF9BB
monochromatic
#F00BEE #F641F5 #F97CF8 #FCB7FB #FEE2FD

Accessibility & contrast

On white

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

On black

9.27
#F97CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97CF8
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97CF8#FFFFFF#000000##000000
##F97CF81.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FC
Deuteranopia (green-blind)
#97B2F4
Tritanopia (blue-blind)
#FF89AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f97cf8;
/* rgb */ color: rgb(249, 124, 248);
/* oklch */ color: oklch(77.1% 0.211 327.7);
Tailwind
colors: {
  custom: {
    50: '#fea7fb',
    500: '#f97cf8',
    950: '#000000',
  },
}
SCSS
$custom: #f97cf8;
$custom-light: #fea7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f97cf8",
  "rgb": {
    "r": 249,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 300.48,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.77148,
    "c": 0.21087,
    "h": 327.7
  },
  "luminance": 0.41332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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