#F97DF8#F97DF8

#F97DF8 is a light, highly saturated purple. Relative luminance 0.416; OKLCH L 77.3% C 0.209 H 327.7°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#F97DF8
RGBrgb(249, 125, 248)
HSLhsl(300, 91%, 73%)
HSVhsv(300, 50%, 98%)
CMYKcmyk(0%, 49.8%, 0.4%, 2.4%)
CIE-LABlab(70.59, 63.53, -40.80)
CIE-LCHlch(70.59, 75.50, 327.29°)
OKLaboklab(77.28% 0.1769 -0.112)
OKLCHoklch(77.28% 0.209 327.7)
XYZxyz(63.3428, 41.5879, 93.4796)
Luminance0.4158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97DF8 #7DF97E
analogous
#BC7DF9 #F97DF8 #F97DBA
triadic
#F97DF8 #F8F97D #7DF8F9
tetradic
#F97DF8 #F9BC7D #7DF97E #7DBAF9
square
#F97DF8 #F9BC7D #7DF97E #7DBAF9
split-complementary
#F97DF8 #BAF97D #7DF9BC
monochromatic
#F00BEF #F642F5 #F97DF8 #FCB7FB #FEE2FD

Accessibility & contrast

On white

2.25
#F97DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#F97DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97DF8
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97DF8#FFFFFF#000000##000000
##F97DF81.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FC
Deuteranopia (green-blind)
#97B2F4
Tritanopia (blue-blind)
#FF8AB0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f97df8;
/* rgb */ color: rgb(249, 125, 248);
/* oklch */ color: oklch(77.3% 0.209 327.7);
Tailwind
colors: {
  custom: {
    50: '#fea7fb',
    500: '#f97df8',
    950: '#000000',
  },
}
SCSS
$custom: #f97df8;
$custom-light: #fea7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f97df8",
  "rgb": {
    "r": 249,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 300.484,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77277,
    "c": 0.20935,
    "h": 327.7
  },
  "luminance": 0.41584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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