#F97FEA#F97FEA

#F97FEA is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.9% C 0.195 H 332.1°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#F97FEA
RGBrgb(249, 127, 234)
HSLhsl(307, 91%, 74%)
HSVhsv(307, 49%, 98%)
CMYKcmyk(0%, 49%, 6%, 2.4%)
CIE-LABlab(70.36, 60.24, -33.47)
CIE-LCHlch(70.36, 68.92, 330.94°)
OKLaboklab(76.92% 0.1719 -0.0911)
OKLCHoklch(76.92% 0.195 332.1)
XYZxyz(61.5073, 41.2628, 82.5508)
Luminance0.4126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97FEA #7FF98E
analogous
#CB7FF9 #F97FEA #F97FAD
triadic
#F97FEA #EAF97F #7FEAF9
tetradic
#F97FEA #F9CB7F #7FF98E #7FADF9
square
#F97FEA #F9CB7F #7FF98E #7FADF9
split-complementary
#F97FEA #ADF97F #7FF9CB
monochromatic
#F20BD6 #F645E0 #F97FEA #FCB9F4 #FEE2FA

Accessibility & contrast

On white

2.27
#F97FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#F97FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97FEA
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97FEA#FFFFFF#000000##000000
##F97FEA1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1EE
Deuteranopia (green-blind)
#9EB2E6
Tritanopia (blue-blind)
#FF88AA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f97fea;
/* rgb */ color: rgb(249, 127, 234);
/* oklch */ color: oklch(76.9% 0.195 332.1);
Tailwind
colors: {
  custom: {
    50: '#fea8f1',
    500: '#f97fea',
    950: '#000000',
  },
}
SCSS
$custom: #f97fea;
$custom-light: #fea8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f97fea",
  "rgb": {
    "r": 249,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 307.377,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76919,
    "c": 0.19451,
    "h": 332.1
  },
  "luminance": 0.41259
}

Semantic roles & 50–950 ramp

primary
#F97FEA
secondary
#D5F6D9
accent
#E61C00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F97FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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