#F97EF8#F97EF8

#F97EF8 is a light, highly saturated purple. Relative luminance 0.418; OKLCH L 77.4% C 0.208 H 327.7°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#F97EF8
RGBrgb(249, 126, 248)
HSLhsl(300, 91%, 74%)
HSVhsv(300, 49%, 98%)
CMYKcmyk(0%, 49.4%, 0.4%, 2.4%)
CIE-LABlab(70.76, 63.06, -40.52)
CIE-LCHlch(70.76, 74.96, 327.27°)
OKLaboklab(77.41% 0.1756 -0.1112)
OKLCHoklch(77.41% 0.208 327.7)
XYZxyz(63.4700, 41.8423, 93.5220)
Luminance0.4184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97EF8 #7EF97F
analogous
#BC7EF9 #F97EF8 #F97EBA
triadic
#F97EF8 #F8F97E #7EF8F9
tetradic
#F97EF8 #F9BC7E #7EF97F #7EBAF9
square
#F97EF8 #F9BC7E #7EF97F #7EBAF9
split-complementary
#F97EF8 #BAF97E #7EF9BC
monochromatic
#F10BEF #F644F5 #F97EF8 #FCB8FB #FEE2FD

Accessibility & contrast

On white

2.24
#F97EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#F97EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97EF8
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97EF8#FFFFFF#000000##000000
##F97EF81.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FC
Deuteranopia (green-blind)
#98B3F4
Tritanopia (blue-blind)
#FF8BB0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f97ef8;
/* rgb */ color: rgb(249, 126, 248);
/* oklch */ color: oklch(77.4% 0.208 327.7);
Tailwind
colors: {
  custom: {
    50: '#fea8fb',
    500: '#f97ef8',
    950: '#000000',
  },
}
SCSS
$custom: #f97ef8;
$custom-light: #fea8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f97ef8",
  "rgb": {
    "r": 249,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 300.488,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77407,
    "c": 0.20782,
    "h": 327.7
  },
  "luminance": 0.41839
}

Semantic roles & 50–950 ramp

primary
#F97EF8
secondary
#D5F6D6
accent
#E60200
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F97EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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