#F97EF7#F97EF7

#F97EF7 is a light, highly saturated purple. Relative luminance 0.418; OKLCH L 77.4% C 0.207 H 328.0°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#F97EF7
RGBrgb(249, 126, 247)
HSLhsl(301, 91%, 74%)
HSVhsv(301, 49%, 98%)
CMYKcmyk(0%, 49.4%, 0.8%, 2.4%)
CIE-LABlab(70.72, 62.89, -40.04)
CIE-LCHlch(70.72, 74.55, 327.51°)
OKLaboklab(77.36% 0.1754 -0.1098)
OKLCHoklch(77.36% 0.207 328)
XYZxyz(63.3153, 41.7804, 92.7071)
Luminance0.4178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97EF7 #7EF980
analogous
#BD7EF9 #F97EF7 #F97EB9
triadic
#F97EF7 #F7F97E #7EF7F9
tetradic
#F97EF7 #F9BD7E #7EF980 #7EB9F9
square
#F97EF7 #F9BD7E #7EF980 #7EB9F9
split-complementary
#F97EF7 #B9F97E #7EF9BD
monochromatic
#F10BEE #F644F3 #F97EF7 #FCB8FB #FEE2FD

Accessibility & contrast

On white

2.24
#F97EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#F97EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97EF7
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97EF7#FFFFFF#000000##000000
##F97EF71.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FB
Deuteranopia (green-blind)
#98B3F3
Tritanopia (blue-blind)
#FF8BAF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f97ef7;
/* rgb */ color: rgb(249, 126, 247);
/* oklch */ color: oklch(77.4% 0.207 328.0);
Tailwind
colors: {
  custom: {
    50: '#fea8fa',
    500: '#f97ef7',
    950: '#000000',
  },
}
SCSS
$custom: #f97ef7;
$custom-light: #fea8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f97ef7",
  "rgb": {
    "r": 249,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 300.976,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77362,
    "c": 0.20696,
    "h": 328
  },
  "luminance": 0.41777
}

Semantic roles & 50–950 ramp

primary
#F97EF7
secondary
#D5F6D6
accent
#E60400
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F97EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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