#F97BE7#F97BE7

#F97BE7 is a light, vivid purple. Relative luminance 0.401; OKLCH L 76.3% C 0.198 H 333.0°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#F97BE7
RGBrgb(249, 123, 231)
HSLhsl(309, 91%, 73%)
HSVhsv(309, 51%, 98%)
CMYKcmyk(0%, 50.6%, 7.2%, 2.4%)
CIE-LABlab(69.53, 61.63, -33.11)
CIE-LCHlch(69.53, 69.97, 331.75°)
OKLaboklab(76.26% 0.1767 -0.09)
OKLCHoklch(76.26% 0.198 333)
XYZxyz(60.5736, 40.0791, 80.1314)
Luminance0.4007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97BE7 #7BF98D
analogous
#CC7BF9 #F97BE7 #F97BA8
triadic
#F97BE7 #E7F97B #7BE7F9
tetradic
#F97BE7 #F9CC7B #7BF98D #7BA8F9
square
#F97BE7 #F9CC7B #7BF98D #7BA8F9
split-complementary
#F97BE7 #A8F97B #7BF9CC
monochromatic
#EF0BCE #F640DC #F97BE7 #FCB6F2 #FEE2FA

Accessibility & contrast

On white

2.33
#F97BE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#F97BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97BE7
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97BE7#FFFFFF#000000##000000
##F97BE71.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#789EEB
Deuteranopia (green-blind)
#9DB0E3
Tritanopia (blue-blind)
#FF83A7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f97be7;
/* rgb */ color: rgb(249, 123, 231);
/* oklch */ color: oklch(76.3% 0.198 333.0);
Tailwind
colors: {
  custom: {
    50: '#fea6ef',
    500: '#f97be7',
    950: '#000000',
  },
}
SCSS
$custom: #f97be7;
$custom-light: #fea6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f97be7",
  "rgb": {
    "r": 249,
    "g": 123,
    "b": 231
  },
  "hsl": {
    "h": 308.571,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76262,
    "c": 0.19834,
    "h": 333
  },
  "luminance": 0.40075
}

Semantic roles & 50–950 ramp

primary
#F97BE7
secondary
#D5F6DA
accent
#E62100
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F97BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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