#F97CF5#F97CF5

#F97CF5 is a light, highly saturated purple. Relative luminance 0.411; OKLCH L 77.0% C 0.208 H 328.6°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#F97CF5
RGBrgb(249, 124, 245)
HSLhsl(302, 91%, 73%)
HSVhsv(302, 50%, 98%)
CMYKcmyk(0%, 50.2%, 1.6%, 2.4%)
CIE-LABlab(70.28, 63.48, -39.63)
CIE-LCHlch(70.28, 74.84, 328.02°)
OKLaboklab(77.01% 0.1778 -0.1086)
OKLCHoklch(77.01% 0.208 328.6)
XYZxyz(62.7552, 41.1513, 91.0060)
Luminance0.4115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97CF5 #7CF980
analogous
#BE7CF9 #F97CF5 #F97CB6
triadic
#F97CF5 #F5F97C #7CF5F9
tetradic
#F97CF5 #F9BE7C #7CF980 #7CB6F9
square
#F97CF5 #F9BE7C #7CF980 #7CB6F9
split-complementary
#F97CF5 #B6F97C #7CF9BE
monochromatic
#F00BE8 #F641F1 #F97CF5 #FCB7F9 #FEE2FD

Accessibility & contrast

On white

2.28
#F97CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#F97CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97CF5
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97CF5#FFFFFF#000000##000000
##F97CF51.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A1F9
Deuteranopia (green-blind)
#98B2F1
Tritanopia (blue-blind)
#FF88AE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f97cf5;
/* rgb */ color: rgb(249, 124, 245);
/* oklch */ color: oklch(77.0% 0.208 328.6);
Tailwind
colors: {
  custom: {
    50: '#fea6f9',
    500: '#f97cf5',
    950: '#000000',
  },
}
SCSS
$custom: #f97cf5;
$custom-light: #fea6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f97cf5",
  "rgb": {
    "r": 249,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 301.92,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.77011,
    "c": 0.20832,
    "h": 328.6
  },
  "luminance": 0.41148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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