#F97FE5#F97FE5

#F97FE5 is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.7% C 0.190 H 333.8°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#F97FE5
RGBrgb(249, 127, 229)
HSLhsl(310, 91%, 74%)
HSVhsv(310, 49%, 98%)
CMYKcmyk(0%, 49%, 8%, 2.4%)
CIE-LABlab(70.16, 59.43, -31.03)
CIE-LCHlch(70.16, 67.04, 332.43°)
OKLaboklab(76.71% 0.1709 -0.0841)
OKLCHoklch(76.71% 0.19 333.8)
XYZxyz(60.7991, 40.9796, 78.8211)
Luminance0.4098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97FE5 #7FF993
analogous
#D07FF9 #F97FE5 #F97FA8
triadic
#F97FE5 #E5F97F #7FE5F9
tetradic
#F97FE5 #F9D07F #7FF993 #7FA8F9
square
#F97FE5 #F9D07F #7FF993 #7FA8F9
split-complementary
#F97FE5 #A8F97F #7FF9D0
monochromatic
#F20BCC #F645D9 #F97FE5 #FCB9F1 #FEE2F9

Accessibility & contrast

On white

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

On black

9.20
#F97FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97FE5
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97FE5#FFFFFF#000000##000000
##F97FE51.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA0E8
Deuteranopia (green-blind)
#A0B2E2
Tritanopia (blue-blind)
#FF86A8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f97fe5;
/* rgb */ color: rgb(249, 127, 229);
/* oklch */ color: oklch(76.7% 0.190 333.8);
Tailwind
colors: {
  custom: {
    50: '#fea8ed',
    500: '#f97fe5',
    950: '#000000',
  },
}
SCSS
$custom: #f97fe5;
$custom-light: #fea8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f97fe5",
  "rgb": {
    "r": 249,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 309.836,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76707,
    "c": 0.19049,
    "h": 333.8
  },
  "luminance": 0.40976
}

Semantic roles & 50–950 ramp

primary
#F97FE5
secondary
#D5F6DB
accent
#E62600
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F97FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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