#F97BE5#F97BE5

#F97BE5 is a light, vivid purple. Relative luminance 0.400; OKLCH L 76.2% C 0.197 H 333.7°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#F97BE5
RGBrgb(249, 123, 229)
HSLhsl(310, 91%, 73%)
HSVhsv(310, 51%, 98%)
CMYKcmyk(0%, 50.6%, 8%, 2.4%)
CIE-LABlab(69.45, 61.31, -32.13)
CIE-LCHlch(69.45, 69.22, 332.34°)
OKLaboklab(76.18% 0.1764 -0.0872)
OKLCHoklch(76.18% 0.197 333.7)
XYZxyz(60.2927, 39.9668, 78.6523)
Luminance0.3996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97BE5 #7BF98F
analogous
#CE7BF9 #F97BE5 #F97BA6
triadic
#F97BE5 #E5F97B #7BE5F9
tetradic
#F97BE5 #F9CE7B #7BF98F #7BA6F9
square
#F97BE5 #F9CE7B #7BF98F #7BA6F9
split-complementary
#F97BE5 #A6F97B #7BF9CE
monochromatic
#EF0BCB #F640D9 #F97BE5 #FCB6F1 #FEE2F9

Accessibility & contrast

On white

2.34
#F97BE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#F97BE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97BE5
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97BE5#FFFFFF#000000##000000
##F97BE51.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#799EE9
Deuteranopia (green-blind)
#9EB0E1
Tritanopia (blue-blind)
#FF83A6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f97be5;
/* rgb */ color: rgb(249, 123, 229);
/* oklch */ color: oklch(76.2% 0.197 333.7);
Tailwind
colors: {
  custom: {
    50: '#fea6ed',
    500: '#f97be5',
    950: '#000000',
  },
}
SCSS
$custom: #f97be5;
$custom-light: #fea6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f97be5",
  "rgb": {
    "r": 249,
    "g": 123,
    "b": 229
  },
  "hsl": {
    "h": 309.524,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76176,
    "c": 0.19676,
    "h": 333.7
  },
  "luminance": 0.39963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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