#F97DFC#F97DFC

#F97DFC is a light, highly saturated purple. Relative luminance 0.418; OKLCH L 77.5% C 0.213 H 326.5°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#F97DFC
RGBrgb(249, 125, 252)
HSLhsl(299, 95%, 74%)
HSVhsv(299, 50%, 99%)
CMYKcmyk(1.2%, 50.4%, 0%, 1.2%)
CIE-LABlab(70.76, 64.21, -42.71)
CIE-LCHlch(70.76, 77.12, 326.37°)
OKLaboklab(77.46% 0.1775 -0.1175)
OKLCHoklch(77.46% 0.213 326.5)
XYZxyz(63.9700, 41.8387, 96.7828)
Luminance0.4183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97DFC #80FC7D
analogous
#BA7DFC #F97DFC #FC7DC0
triadic
#F97DFC #FCF97D #7DFCF9
tetradic
#F97DFC #FCBA7D #80FC7D #7DC0FC
square
#F97DFC #FCBA7D #80FC7D #7DC0FC
split-complementary
#F97DFC #C0FC7D #7DFCBA
monochromatic
#F306F9 #F641FB #F97DFC #FCB9FD #FEE1FE

Accessibility & contrast

On white

2.24
#F97DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#F97DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97DFC
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97DFC#FFFFFF#000000##000000
##F97DFC1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#95B3F8
Tritanopia (blue-blind)
#FF8CB1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f97dfc;
/* rgb */ color: rgb(249, 125, 252);
/* oklch */ color: oklch(77.5% 0.213 326.5);
Tailwind
colors: {
  custom: {
    50: '#fea7fe',
    500: '#f97dfc',
    950: '#000000',
  },
}
SCSS
$custom: #f97dfc;
$custom-light: #fea7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f97dfc",
  "rgb": {
    "r": 249,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 298.583,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77462,
    "c": 0.2128,
    "h": 326.5
  },
  "luminance": 0.41835
}

Semantic roles & 50–950 ramp

primary
#F97DFC
secondary
#D5F7D4
accent
#E60005
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F97DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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