#F97BFE#F97BFE

#F97BFE is a light, highly saturated purple. Relative luminance 0.415; OKLCH L 77.3% C 0.218 H 326.0°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#F97BFE
RGBrgb(249, 123, 254)
HSLhsl(298, 98%, 74%)
HSVhsv(298, 52%, 100%)
CMYKcmyk(2%, 51.6%, 0%, 0.4%)
CIE-LABlab(70.50, 65.49, -44.21)
CIE-LCHlch(70.50, 79.01, 325.98°)
OKLaboklab(77.3% 0.1803 -0.1217)
OKLCHoklch(77.3% 0.218 326)
XYZxyz(64.0379, 41.4649, 98.3772)
Luminance0.4146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97BFE #80FE7B
analogous
#B87BFE #F97BFE #FE7BC2
triadic
#F97BFE #FEF97B #7BFEF9
tetradic
#F97BFE #FEB87B #80FE7B #7BC2FE
square
#F97BFE #FEB87B #80FE7B #7BC2FE
split-complementary
#F97BFE #C2FE7B #7BFEB8
monochromatic
#F302FD #F63EFE #F97BFE #FCB8FE #FEE1FF

Accessibility & contrast

On white

2.26
#F97BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#F97BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97BFE
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97BFE#FFFFFF#000000##000000
##F97BFE1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#93B2FA
Tritanopia (blue-blind)
#FF8BB2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f97bfe;
/* rgb */ color: rgb(249, 123, 254);
/* oklch */ color: oklch(77.3% 0.218 326.0);
Tailwind
colors: {
  custom: {
    50: '#fea6ff',
    500: '#f97bfe',
    950: '#000000',
  },
}
SCSS
$custom: #f97bfe;
$custom-light: #fea6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f97bfe",
  "rgb": {
    "r": 249,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 297.71,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.773,
    "c": 0.21756,
    "h": 326
  },
  "luminance": 0.41461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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