#F97FEF#F97FEF

#F97FEF is a light, vivid purple. Relative luminance 0.415; OKLCH L 77.1% C 0.199 H 330.4°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#F97FEF
RGBrgb(249, 127, 239)
HSLhsl(305, 91%, 74%)
HSVhsv(305, 49%, 98%)
CMYKcmyk(0%, 49%, 4%, 2.4%)
CIE-LABlab(70.56, 61.07, -35.91)
CIE-LCHlch(70.56, 70.84, 329.55°)
OKLaboklab(77.14% 0.1728 -0.098)
OKLCHoklch(77.14% 0.199 330.4)
XYZxyz(62.2357, 41.5542, 86.3873)
Luminance0.4155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97FEF #7FF989
analogous
#C67FF9 #F97FEF #F97FB2
triadic
#F97FEF #EFF97F #7FEFF9
tetradic
#F97FEF #F9C67F #7FF989 #7FB2F9
square
#F97FEF #F9C67F #7FF989 #7FB2F9
split-complementary
#F97FEF #B2F97F #7FF9C6
monochromatic
#F20BDF #F645E8 #F97FEF #FCB9F6 #FEE2FB

Accessibility & contrast

On white

2.26
#F97FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#F97FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97FEF
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97FEF#FFFFFF#000000##000000
##F97FEF1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A2F3
Deuteranopia (green-blind)
#9CB3EB
Tritanopia (blue-blind)
#FF89AC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f97fef;
/* rgb */ color: rgb(249, 127, 239);
/* oklch */ color: oklch(77.1% 0.199 330.4);
Tailwind
colors: {
  custom: {
    50: '#fea8f4',
    500: '#f97fef',
    950: '#000000',
  },
}
SCSS
$custom: #f97fef;
$custom-light: #fea8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f97fef",
  "rgb": {
    "r": 249,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 304.918,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77136,
    "c": 0.19864,
    "h": 330.4
  },
  "luminance": 0.4155
}

Semantic roles & 50–950 ramp

primary
#F97FEF
secondary
#D5F6D8
accent
#E61300
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F97FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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