#F97EF2#F97EF2

#F97EF2 is a light, highly saturated purple. Relative luminance 0.415; OKLCH L 77.1% C 0.203 H 329.5°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#F97EF2
RGBrgb(249, 126, 242)
HSLhsl(303, 91%, 74%)
HSVhsv(303, 49%, 98%)
CMYKcmyk(0%, 49.4%, 2.8%, 2.4%)
CIE-LABlab(70.51, 62.04, -37.64)
CIE-LCHlch(70.51, 72.56, 328.76°)
OKLaboklab(77.14% 0.1746 -0.1029)
OKLCHoklch(77.14% 0.203 329.5)
XYZxyz(62.5541, 41.4759, 88.6980)
Luminance0.4147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97EF2 #7EF985
analogous
#C27EF9 #F97EF2 #F97EB4
triadic
#F97EF2 #F2F97E #7EF2F9
tetradic
#F97EF2 #F9C27E #7EF985 #7EB4F9
square
#F97EF2 #F9C27E #7EF985 #7EB4F9
split-complementary
#F97EF2 #B4F97E #7EF9C2
monochromatic
#F10BE4 #F644EC #F97EF2 #FCB8F8 #FEE2FC

Accessibility & contrast

On white

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

On black

9.29
#F97EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97EF2
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97EF2#FFFFFF#000000##000000
##F97EF21.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F6
Deuteranopia (green-blind)
#9AB2EE
Tritanopia (blue-blind)
#FF89AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f97ef2;
/* rgb */ color: rgb(249, 126, 242);
/* oklch */ color: oklch(77.1% 0.203 329.5);
Tailwind
colors: {
  custom: {
    50: '#fea8f6',
    500: '#f97ef2',
    950: '#000000',
  },
}
SCSS
$custom: #f97ef2;
$custom-light: #fea8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f97ef2",
  "rgb": {
    "r": 249,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 303.415,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77137,
    "c": 0.2027,
    "h": 329.5
  },
  "luminance": 0.41472
}

Semantic roles & 50–950 ramp

primary
#F97EF2
secondary
#D5F6D7
accent
#E60D00
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F97EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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