#F97CE7#F97CE7

#F97CE7 is a light, vivid purple. Relative luminance 0.403; OKLCH L 76.4% C 0.197 H 333.0°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#F97CE7
RGBrgb(249, 124, 231)
HSLhsl(309, 91%, 73%)
HSVhsv(309, 50%, 98%)
CMYKcmyk(0%, 50.2%, 7.2%, 2.4%)
CIE-LABlab(69.70, 61.17, -32.84)
CIE-LCHlch(69.70, 69.42, 331.77°)
OKLaboklab(76.39% 0.1754 -0.0892)
OKLCHoklch(76.39% 0.197 333)
XYZxyz(60.6982, 40.3285, 80.1730)
Luminance0.4032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97CE7 #7CF98E
analogous
#CC7CF9 #F97CE7 #F97CA8
triadic
#F97CE7 #E7F97C #7CE7F9
tetradic
#F97CE7 #F9CC7C #7CF98E #7CA8F9
square
#F97CE7 #F9CC7C #7CF98E #7CA8F9
split-complementary
#F97CE7 #A8F97C #7CF9CC
monochromatic
#F00BCF #F641DC #F97CE7 #FCB7F2 #FEE2FA

Accessibility & contrast

On white

2.32
#F97CE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#F97CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97CE7
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97CE7#FFFFFF#000000##000000
##F97CE71.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#799FEB
Deuteranopia (green-blind)
#9DB1E3
Tritanopia (blue-blind)
#FF84A7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f97ce7;
/* rgb */ color: rgb(249, 124, 231);
/* oklch */ color: oklch(76.4% 0.197 333.0);
Tailwind
colors: {
  custom: {
    50: '#fea6ef',
    500: '#f97ce7',
    950: '#000000',
  },
}
SCSS
$custom: #f97ce7;
$custom-light: #fea6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f97ce7",
  "rgb": {
    "r": 249,
    "g": 124,
    "b": 231
  },
  "hsl": {
    "h": 308.64,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76393,
    "c": 0.19678,
    "h": 333
  },
  "luminance": 0.40325
}

Semantic roles & 50–950 ramp

primary
#F97CE7
secondary
#D5F6DA
accent
#E62100
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F97CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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