#F997EC#F997EC

#F997EC is a light, vivid purple. Relative luminance 0.483; OKLCH L 80.4% C 0.157 H 331.9°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#F997EC
RGBrgb(249, 151, 236)
HSLhsl(308, 89%, 78%)
HSVhsv(308, 39%, 98%)
CMYKcmyk(0%, 39.4%, 5.2%, 2.4%)
CIE-LABlab(75.03, 48.74, -27.37)
CIE-LCHlch(75.03, 55.90, 330.69°)
OKLaboklab(80.44% 0.1384 -0.074)
OKLCHoklch(80.44% 0.157 331.9)
XYZxyz(65.2732, 48.3324, 85.2315)
Luminance0.4833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F997EC #97F9A4
analogous
#D597F9 #F997EC #F997BB
triadic
#F997EC #ECF997 #97ECF9
tetradic
#F997EC #F9D597 #97F9A4 #97BBF9
square
#F997EC #F9D597 #97F9A4 #97BBF9
split-complementary
#F997EC #BBF997 #97F9D5
monochromatic
#F223D7 #F65DE1 #F997EC #FCD1F7 #FDE2FA

Accessibility & contrast

On white

1.97
#F997EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#F997EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F997EC
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F997EC#FFFFFF#000000##000000
##F997EC1.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B0EF
Deuteranopia (green-blind)
#AEBEE9
Tritanopia (blue-blind)
#FF9DB7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #f997ec;
/* rgb */ color: rgb(249, 151, 236);
/* oklch */ color: oklch(80.4% 0.157 331.9);
Tailwind
colors: {
  custom: {
    50: '#fdb7f2',
    500: '#f997ec',
    950: '#000000',
  },
}
SCSS
$custom: #f997ec;
$custom-light: #fdb7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f997ec",
  "rgb": {
    "r": 249,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 307.959,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.80437,
    "c": 0.15699,
    "h": 331.9
  },
  "luminance": 0.48329
}

Semantic roles & 50–950 ramp

primary
#F997EC
secondary
#D6F5DA
accent
#E61E00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #F997EC

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

Preview Lab → · Contrast checker → · Palette generator →

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