#F97CE8#F97CE8

#F97CE8 is a light, vivid purple. Relative luminance 0.404; OKLCH L 76.4% C 0.198 H 332.7°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#F97CE8
RGBrgb(249, 124, 232)
HSLhsl(308, 91%, 73%)
HSVhsv(308, 50%, 98%)
CMYKcmyk(0%, 50.2%, 6.8%, 2.4%)
CIE-LABlab(69.74, 61.33, -33.33)
CIE-LCHlch(69.74, 69.80, 331.48°)
OKLaboklab(76.44% 0.1756 -0.0906)
OKLCHoklch(76.44% 0.198 332.7)
XYZxyz(60.8399, 40.3852, 80.9189)
Luminance0.4038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97CE8 #7CF98D
analogous
#CB7CF9 #F97CE8 #F97CA9
triadic
#F97CE8 #E8F97C #7CE8F9
tetradic
#F97CE8 #F9CB7C #7CF98D #7CA9F9
square
#F97CE8 #F9CB7C #7CF98D #7CA9F9
split-complementary
#F97CE8 #A9F97C #7CF9CB
monochromatic
#F00BD1 #F641DE #F97CE8 #FCB7F2 #FEE2FA

Accessibility & contrast

On white

2.31
#F97CE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#F97CE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97CE8
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97CE8#FFFFFF#000000##000000
##F97CE81.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#799FEC
Deuteranopia (green-blind)
#9DB1E4
Tritanopia (blue-blind)
#FF84A8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f97ce8;
/* rgb */ color: rgb(249, 124, 232);
/* oklch */ color: oklch(76.4% 0.198 332.7);
Tailwind
colors: {
  custom: {
    50: '#fea6ef',
    500: '#f97ce8',
    950: '#000000',
  },
}
SCSS
$custom: #f97ce8;
$custom-light: #fea6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f97ce8",
  "rgb": {
    "r": 249,
    "g": 124,
    "b": 232
  },
  "hsl": {
    "h": 308.16,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76436,
    "c": 0.19759,
    "h": 332.7
  },
  "luminance": 0.40381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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