#F97CEF#F97CEF

#F97CEF is a light, highly saturated purple. Relative luminance 0.408; OKLCH L 76.7% C 0.203 H 330.4°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#F97CEF
RGBrgb(249, 124, 239)
HSLhsl(305, 91%, 73%)
HSVhsv(305, 50%, 98%)
CMYKcmyk(0%, 50.2%, 4%, 2.4%)
CIE-LABlab(70.03, 62.48, -36.73)
CIE-LCHlch(70.03, 72.48, 329.55°)
OKLaboklab(76.74% 0.1768 -0.1003)
OKLCHoklch(76.74% 0.203 330.4)
XYZxyz(61.8540, 40.7908, 86.2601)
Luminance0.4079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97CEF #7CF986
analogous
#C47CF9 #F97CEF #F97CB0
triadic
#F97CEF #EFF97C #7CEFF9
tetradic
#F97CEF #F9C47C #7CF986 #7CB0F9
square
#F97CEF #F9C47C #7CF986 #7CB0F9
split-complementary
#F97CEF #B0F97C #7CF9C4
monochromatic
#F00BDD #F641E8 #F97CEF #FCB7F6 #FEE2FB

Accessibility & contrast

On white

2.29
#F97CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#F97CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97CEF
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97CEF#FFFFFF#000000##000000
##F97CEF1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F3
Deuteranopia (green-blind)
#9AB1EB
Tritanopia (blue-blind)
#FF87AB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f97cef;
/* rgb */ color: rgb(249, 124, 239);
/* oklch */ color: oklch(76.7% 0.203 330.4);
Tailwind
colors: {
  custom: {
    50: '#fea6f4',
    500: '#f97cef',
    950: '#000000',
  },
}
SCSS
$custom: #f97cef;
$custom-light: #fea6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f97cef",
  "rgb": {
    "r": 249,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 304.8,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76741,
    "c": 0.20328,
    "h": 330.4
  },
  "luminance": 0.40787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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