#F97BFC#F97BFC

#F97BFC is a light, highly saturated purple. Relative luminance 0.413; OKLCH L 77.2% C 0.216 H 326.5°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#F97BFC
RGBrgb(249, 123, 252)
HSLhsl(299, 96%, 74%)
HSVhsv(299, 51%, 99%)
CMYKcmyk(1.2%, 51.2%, 0%, 1.2%)
CIE-LABlab(70.41, 65.14, -43.26)
CIE-LCHlch(70.41, 78.19, 326.41°)
OKLaboklab(77.21% 0.18 -0.119)
OKLCHoklch(77.21% 0.216 326.5)
XYZxyz(63.7194, 41.3375, 96.6992)
Luminance0.4133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97BFC #7EFC7B
analogous
#B87BFC #F97BFC #FC7BBE
triadic
#F97BFC #FCF97B #7BFCF9
tetradic
#F97BFC #FCB87B #7EFC7B #7BBEFC
square
#F97BFC #FCB87B #7EFC7B #7BBEFC
split-complementary
#F97BFC #BEFC7B #7BFCB8
monochromatic
#F106F7 #F63FFB #F97BFC #FCB7FD #FEE1FE

Accessibility & contrast

On white

2.27
#F97BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#F97BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97BFC
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97BFC#FFFFFF#000000##000000
##F97BFC1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#94B2F8
Tritanopia (blue-blind)
#FF8AB1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f97bfc;
/* rgb */ color: rgb(249, 123, 252);
/* oklch */ color: oklch(77.2% 0.216 326.5);
Tailwind
colors: {
  custom: {
    50: '#fea6fe',
    500: '#f97bfc',
    950: '#000000',
  },
}
SCSS
$custom: #f97bfc;
$custom-light: #fea6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f97bfc",
  "rgb": {
    "r": 249,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 298.605,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77206,
    "c": 0.21582,
    "h": 326.5
  },
  "luminance": 0.41334
}

Semantic roles & 50–950 ramp

primary
#F97BFC
secondary
#D5F7D4
accent
#E60005
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F97BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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