#F97BFB#F97BFB

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

Color values

HEX#F97BFB
RGBrgb(249, 123, 251)
HSLhsl(299, 94%, 73%)
HSVhsv(299, 51%, 98%)
CMYKcmyk(0.8%, 51%, 0%, 1.6%)
CIE-LABlab(70.37, 64.97, -42.78)
CIE-LCHlch(70.37, 77.79, 326.64°)
OKLaboklab(77.16% 0.1799 -0.1176)
OKLCHoklch(77.16% 0.215 326.8)
XYZxyz(63.5613, 41.2742, 95.8669)
Luminance0.4127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97BFB #7DFB7B
analogous
#B97BFB #F97BFB #FB7BBD
triadic
#F97BFB #FBF97B #7BFBF9
tetradic
#F97BFB #FBB97B #7DFB7B #7BBDFB
square
#F97BFB #FBB97B #7DFB7B #7BBDFB
split-complementary
#F97BFB #BDFB7B #7BFBB9
monochromatic
#F107F4 #F640F9 #F97BFB #FCB6FD #FEE1FE

Accessibility & contrast

On white

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

On black

9.25
#F97BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97BFB
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97BFB#FFFFFF#000000##000000
##F97BFB1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#95B2F7
Tritanopia (blue-blind)
#FF8AB0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f97bfb;
/* rgb */ color: rgb(249, 123, 251);
/* oklch */ color: oklch(77.2% 0.215 326.8);
Tailwind
colors: {
  custom: {
    50: '#fea6fd',
    500: '#f97bfb',
    950: '#000000',
  },
}
SCSS
$custom: #f97bfb;
$custom-light: #fea6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f97bfb",
  "rgb": {
    "r": 249,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 299.063,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77159,
    "c": 0.21496,
    "h": 326.8
  },
  "luminance": 0.41271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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