#F97BF8#F97BF8

#F97BF8 is a light, highly saturated purple. Relative luminance 0.411; OKLCH L 77.0% C 0.212 H 327.7°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#F97BF8
RGBrgb(249, 123, 248)
HSLhsl(300, 91%, 73%)
HSVhsv(300, 51%, 98%)
CMYKcmyk(0%, 50.6%, 0.4%, 2.4%)
CIE-LABlab(70.24, 64.45, -41.35)
CIE-LCHlch(70.24, 76.58, 327.32°)
OKLaboklab(77.02% 0.1795 -0.1135)
OKLCHoklch(77.02% 0.212 327.7)
XYZxyz(63.0922, 41.0866, 93.3960)
Luminance0.4108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97BF8 #7BF97C
analogous
#BB7BF9 #F97BF8 #F97BB9
triadic
#F97BF8 #F8F97B #7BF8F9
tetradic
#F97BF8 #F9BB7B #7BF97C #7BB9F9
square
#F97BF8 #F9BB7B #7BF97C #7BB9F9
split-complementary
#F97BF8 #B9F97B #7BF9BB
monochromatic
#EF0BED #F640F5 #F97BF8 #FCB6FB #FEE2FD

Accessibility & contrast

On white

2.28
#F97BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#F97BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97BF8
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97BF8#FFFFFF#000000##000000
##F97BF81.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FC
Deuteranopia (green-blind)
#96B2F4
Tritanopia (blue-blind)
#FF89AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f97bf8;
/* rgb */ color: rgb(249, 123, 248);
/* oklch */ color: oklch(77.0% 0.212 327.7);
Tailwind
colors: {
  custom: {
    50: '#fea6fb',
    500: '#f97bf8',
    950: '#000000',
  },
}
SCSS
$custom: #f97bf8;
$custom-light: #fea6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f97bf8",
  "rgb": {
    "r": 249,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 300.476,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7702,
    "c": 0.21238,
    "h": 327.7
  },
  "luminance": 0.41083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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