#F97BF7#F97BF7

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

Color values

HEX#F97BF7
RGBrgb(249, 123, 247)
HSLhsl(301, 91%, 73%)
HSVhsv(301, 51%, 98%)
CMYKcmyk(0%, 50.6%, 0.8%, 2.4%)
CIE-LABlab(70.19, 64.28, -40.87)
CIE-LCHlch(70.19, 76.17, 327.56°)
OKLaboklab(76.97% 0.1794 -0.1121)
OKLCHoklch(76.97% 0.212 328)
XYZxyz(62.9374, 41.0247, 92.5812)
Luminance0.4102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97BF7 #7BF97D
analogous
#BC7BF9 #F97BF7 #F97BB8
triadic
#F97BF7 #F7F97B #7BF7F9
tetradic
#F97BF7 #F9BC7B #7BF97D #7BB8F9
square
#F97BF7 #F9BC7B #7BF97D #7BB8F9
split-complementary
#F97BF7 #B8F97B #7BF9BC
monochromatic
#EF0BEB #F640F3 #F97BF7 #FCB6FB #FEE2FD

Accessibility & contrast

On white

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

On black

9.20
#F97BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97BF7
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97BF7#FFFFFF#000000##000000
##F97BF71.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FB
Deuteranopia (green-blind)
#96B2F3
Tritanopia (blue-blind)
#FF88AE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f97bf7;
/* rgb */ color: rgb(249, 123, 247);
/* oklch */ color: oklch(77.0% 0.212 328.0);
Tailwind
colors: {
  custom: {
    50: '#fea6fa',
    500: '#f97bf7',
    950: '#000000',
  },
}
SCSS
$custom: #f97bf7;
$custom-light: #fea6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f97bf7",
  "rgb": {
    "r": 249,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 300.952,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76974,
    "c": 0.21153,
    "h": 328
  },
  "luminance": 0.41021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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