#F97FE7#F97FE7

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

Color values

HEX#F97FE7
RGBrgb(249, 127, 231)
HSLhsl(309, 91%, 74%)
HSVhsv(309, 49%, 98%)
CMYKcmyk(0%, 49%, 7.2%, 2.4%)
CIE-LABlab(70.24, 59.75, -32.01)
CIE-LCHlch(70.24, 67.78, 331.82°)
OKLaboklab(76.79% 0.1713 -0.0869)
OKLCHoklch(76.79% 0.192 333.1)
XYZxyz(61.0799, 41.0919, 80.3002)
Luminance0.4109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97FE7 #7FF991
analogous
#CE7FF9 #F97FE7 #F97FAA
triadic
#F97FE7 #E7F97F #7FE7F9
tetradic
#F97FE7 #F9CE7F #7FF991 #7FAAF9
square
#F97FE7 #F9CE7F #7FF991 #7FAAF9
split-complementary
#F97FE7 #AAF97F #7FF9CE
monochromatic
#F20BD0 #F645DC #F97FE7 #FCB9F2 #FEE2FA

Accessibility & contrast

On white

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

On black

9.22
#F97FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97FE7
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97FE7#FFFFFF#000000##000000
##F97FE71.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA1EA
Deuteranopia (green-blind)
#9FB2E4
Tritanopia (blue-blind)
#FF87A8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f97fe7;
/* rgb */ color: rgb(249, 127, 231);
/* oklch */ color: oklch(76.8% 0.192 333.1);
Tailwind
colors: {
  custom: {
    50: '#fea8ef',
    500: '#f97fe7',
    950: '#000000',
  },
}
SCSS
$custom: #f97fe7;
$custom-light: #fea8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f97fe7",
  "rgb": {
    "r": 249,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 308.852,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76792,
    "c": 0.19209,
    "h": 333.1
  },
  "luminance": 0.41088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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