#F97FE8#F97FE8

#F97FE8 is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.8% C 0.193 H 332.8°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#F97FE8
RGBrgb(249, 127, 232)
HSLhsl(308, 91%, 74%)
HSVhsv(308, 49%, 98%)
CMYKcmyk(0%, 49%, 6.8%, 2.4%)
CIE-LABlab(70.28, 59.91, -32.50)
CIE-LCHlch(70.28, 68.16, 331.53°)
OKLaboklab(76.83% 0.1715 -0.0883)
OKLCHoklch(76.83% 0.193 332.8)
XYZxyz(61.2216, 41.1486, 81.0461)
Luminance0.4114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97FE8 #7FF990
analogous
#CD7FF9 #F97FE8 #F97FAB
triadic
#F97FE8 #E8F97F #7FE8F9
tetradic
#F97FE8 #F9CD7F #7FF990 #7FABF9
square
#F97FE8 #F9CD7F #7FF990 #7FABF9
split-complementary
#F97FE8 #ABF97F #7FF9CD
monochromatic
#F20BD2 #F645DD #F97FE8 #FCB9F3 #FEE2FA

Accessibility & contrast

On white

2.28
#F97FE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#F97FE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97FE8
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97FE8#FFFFFF#000000##000000
##F97FE81.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA1EC
Deuteranopia (green-blind)
#9FB2E5
Tritanopia (blue-blind)
#FF87A9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f97fe8;
/* rgb */ color: rgb(249, 127, 232);
/* oklch */ color: oklch(76.8% 0.193 332.8);
Tailwind
colors: {
  custom: {
    50: '#fea8ef',
    500: '#f97fe8',
    950: '#000000',
  },
}
SCSS
$custom: #f97fe8;
$custom-light: #fea8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f97fe8",
  "rgb": {
    "r": 249,
    "g": 127,
    "b": 232
  },
  "hsl": {
    "h": 308.361,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76834,
    "c": 0.19289,
    "h": 332.8
  },
  "luminance": 0.41145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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