#F97BF2#F97BF2

#F97BF2 is a light, highly saturated purple. Relative luminance 0.407; OKLCH L 76.7% C 0.207 H 329.5°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#F97BF2
RGBrgb(249, 123, 242)
HSLhsl(303, 91%, 73%)
HSVhsv(303, 51%, 98%)
CMYKcmyk(0%, 50.6%, 2.8%, 2.4%)
CIE-LABlab(69.98, 63.44, -38.46)
CIE-LCHlch(69.98, 74.19, 328.78°)
OKLaboklab(76.75% 0.1786 -0.1052)
OKLCHoklch(76.75% 0.207 329.5)
XYZxyz(62.1762, 40.7202, 88.5720)
Luminance0.4072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97BF2 #7BF982
analogous
#C17BF9 #F97BF2 #F97BB3
triadic
#F97BF2 #F2F97B #7BF2F9
tetradic
#F97BF2 #F9C17B #7BF982 #7BB3F9
square
#F97BF2 #F9C17B #7BF982 #7BB3F9
split-complementary
#F97BF2 #B3F97B #7BF9C1
monochromatic
#EF0BE2 #F640EC #F97BF2 #FCB6F8 #FEE2FC

Accessibility & contrast

On white

2.30
#F97BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#F97BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97BF2
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97BF2#FFFFFF#000000##000000
##F97BF21.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#98B1EE
Tritanopia (blue-blind)
#FF87AC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f97bf2;
/* rgb */ color: rgb(249, 123, 242);
/* oklch */ color: oklch(76.7% 0.207 329.5);
Tailwind
colors: {
  custom: {
    50: '#fea6f6',
    500: '#f97bf2',
    950: '#000000',
  },
}
SCSS
$custom: #f97bf2;
$custom-light: #fea6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f97bf2",
  "rgb": {
    "r": 249,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 303.333,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76746,
    "c": 0.20731,
    "h": 329.5
  },
  "luminance": 0.40716
}

Semantic roles & 50–950 ramp

primary
#F97BF2
secondary
#D5F6D7
accent
#E60D00
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F97BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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