#F97EF1#F97EF1

#F97EF1 is a light, highly saturated purple. Relative luminance 0.414; OKLCH L 77.1% C 0.202 H 329.8°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#F97EF1
RGBrgb(249, 126, 241)
HSLhsl(304, 91%, 74%)
HSVhsv(304, 49%, 98%)
CMYKcmyk(0%, 49.4%, 3.2%, 2.4%)
CIE-LABlab(70.47, 61.87, -37.15)
CIE-LCHlch(70.47, 72.17, 329.02°)
OKLaboklab(77.09% 0.1745 -0.1015)
OKLCHoklch(77.09% 0.202 329.8)
XYZxyz(62.4043, 41.4160, 87.9092)
Luminance0.4141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97EF1 #7EF986
analogous
#C37EF9 #F97EF1 #F97EB3
triadic
#F97EF1 #F1F97E #7EF1F9
tetradic
#F97EF1 #F9C37E #7EF986 #7EB3F9
square
#F97EF1 #F9C37E #7EF986 #7EB3F9
split-complementary
#F97EF1 #B3F97E #7EF9C3
monochromatic
#F10BE2 #F644EB #F97EF1 #FCB8F7 #FEE2FC

Accessibility & contrast

On white

2.26
#F97EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#F97EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97EF1
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97EF1#FFFFFF#000000##000000
##F97EF11.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F5
Deuteranopia (green-blind)
#9BB2ED
Tritanopia (blue-blind)
#FF89AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f97ef1;
/* rgb */ color: rgb(249, 126, 241);
/* oklch */ color: oklch(77.1% 0.202 329.8);
Tailwind
colors: {
  custom: {
    50: '#fea8f6',
    500: '#f97ef1',
    950: '#000000',
  },
}
SCSS
$custom: #f97ef1;
$custom-light: #fea8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f97ef1",
  "rgb": {
    "r": 249,
    "g": 126,
    "b": 241
  },
  "hsl": {
    "h": 303.902,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77092,
    "c": 0.20186,
    "h": 329.8
  },
  "luminance": 0.41412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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