#F997FC#F997FC

#F997FC is a light, vivid purple. Relative luminance 0.493; OKLCH L 81.1% C 0.171 H 326.0°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#F997FC
RGBrgb(249, 151, 252)
HSLhsl(298, 94%, 79%)
HSVhsv(298, 40%, 99%)
CMYKcmyk(1.2%, 40.1%, 0%, 1.2%)
CIE-LABlab(75.64, 51.54, -35.12)
CIE-LCHlch(75.64, 62.37, 325.73°)
OKLaboklab(81.09% 0.142 -0.0959)
OKLCHoklch(81.09% 0.171 326)
XYZxyz(67.7027, 49.3042, 98.0270)
Luminance0.4930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F997FC #9AFC97
analogous
#C797FC #F997FC #FC97CD
triadic
#F997FC #FCF997 #97FCF9
tetradic
#F997FC #FCC797 #9AFC97 #97CDFC
square
#F997FC #FCC797 #9AFC97 #97CDFC
split-complementary
#F997FC #CDFC97 #97FCC7
monochromatic
#F220F9 #F65CFA #F997FC #FCD2FE #FDE1FE

Accessibility & contrast

On white

1.93
#F997FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#F997FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F997FC
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F997FC#FFFFFF#000000##000000
##F997FC1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB3FF
Deuteranopia (green-blind)
#A8BFF9
Tritanopia (blue-blind)
#FEA1BE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #f997fc;
/* rgb */ color: rgb(249, 151, 252);
/* oklch */ color: oklch(81.1% 0.171 326.0);
Tailwind
colors: {
  custom: {
    50: '#fdb8fd',
    500: '#f997fc',
    950: '#000000',
  },
}
SCSS
$custom: #f997fc;
$custom-light: #fdb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f997fc",
  "rgb": {
    "r": 249,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 298.218,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.81091,
    "c": 0.17139,
    "h": 326
  },
  "luminance": 0.49301
}

Semantic roles & 50–950 ramp

primary
#F997FC
secondary
#D6F6D5
accent
#E60007
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F997FC

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

Preview Lab → · Contrast checker → · Palette generator →

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