#F97DF2#F97DF2

#F97DF2 is a light, highly saturated purple. Relative luminance 0.412; OKLCH L 77.0% C 0.204 H 329.5°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#F97DF2
RGBrgb(249, 125, 242)
HSLhsl(303, 91%, 73%)
HSVhsv(303, 50%, 98%)
CMYKcmyk(0%, 49.8%, 2.8%, 2.4%)
CIE-LABlab(70.33, 62.51, -37.91)
CIE-LCHlch(70.33, 73.11, 328.76°)
OKLaboklab(77.01% 0.176 -0.1037)
OKLCHoklch(77.01% 0.204 329.5)
XYZxyz(62.4269, 41.2215, 88.6556)
Luminance0.4122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97DF2 #7DF984
analogous
#C27DF9 #F97DF2 #F97DB4
triadic
#F97DF2 #F2F97D #7DF2F9
tetradic
#F97DF2 #F9C27D #7DF984 #7DB4F9
square
#F97DF2 #F9C27D #7DF984 #7DB4F9
split-complementary
#F97DF2 #B4F97D #7DF9C2
monochromatic
#F00BE4 #F642EC #F97DF2 #FCB7F8 #FEE2FC

Accessibility & contrast

On white

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

On black

9.24
#F97DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97DF2
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97DF2#FFFFFF#000000##000000
##F97DF21.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#9AB2EE
Tritanopia (blue-blind)
#FF88AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f97df2;
/* rgb */ color: rgb(249, 125, 242);
/* oklch */ color: oklch(77.0% 0.204 329.5);
Tailwind
colors: {
  custom: {
    50: '#fea7f6',
    500: '#f97df2',
    950: '#000000',
  },
}
SCSS
$custom: #f97df2;
$custom-light: #fea7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f97df2",
  "rgb": {
    "r": 249,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 303.387,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77005,
    "c": 0.20424,
    "h": 329.5
  },
  "luminance": 0.41218
}

Semantic roles & 50–950 ramp

primary
#F97DF2
secondary
#D5F6D7
accent
#E60D00
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F97DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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