#F97BF5#F97BF5

#F97BF5 is a light, highly saturated purple. Relative luminance 0.409; OKLCH L 76.9% C 0.210 H 328.6°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#F97BF5
RGBrgb(249, 123, 245)
HSLhsl(302, 91%, 73%)
HSVhsv(302, 51%, 98%)
CMYKcmyk(0%, 50.6%, 1.6%, 2.4%)
CIE-LABlab(70.11, 63.95, -39.90)
CIE-LCHlch(70.11, 75.37, 328.03°)
OKLaboklab(76.88% 0.1791 -0.1094)
OKLCHoklch(76.88% 0.21 328.6)
XYZxyz(62.6305, 40.9019, 90.9645)
Luminance0.4090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97BF5 #7BF97F
analogous
#BE7BF9 #F97BF5 #F97BB6
triadic
#F97BF5 #F5F97B #7BF5F9
tetradic
#F97BF5 #F9BE7B #7BF97F #7BB6F9
square
#F97BF5 #F9BE7B #7BF97F #7BB6F9
split-complementary
#F97BF5 #B6F97B #7BF9BE
monochromatic
#EF0BE8 #F640F1 #F97BF5 #FCB6F9 #FEE2FD

Accessibility & contrast

On white

2.29
#F97BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#F97BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97BF5
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97BF5#FFFFFF#000000##000000
##F97BF51.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1F9
Deuteranopia (green-blind)
#97B1F1
Tritanopia (blue-blind)
#FF88AD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f97bf5;
/* rgb */ color: rgb(249, 123, 245);
/* oklch */ color: oklch(76.9% 0.210 328.6);
Tailwind
colors: {
  custom: {
    50: '#fea6f9',
    500: '#f97bf5',
    950: '#000000',
  },
}
SCSS
$custom: #f97bf5;
$custom-light: #fea6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f97bf5",
  "rgb": {
    "r": 249,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 301.905,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76882,
    "c": 0.20984,
    "h": 328.6
  },
  "luminance": 0.40898
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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