#F97DEC#F97DEC

#F97DEC is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.7% C 0.199 H 331.4°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#F97DEC
RGBrgb(249, 125, 236)
HSLhsl(306, 91%, 73%)
HSVhsv(306, 50%, 98%)
CMYKcmyk(0%, 49.8%, 5.2%, 2.4%)
CIE-LABlab(70.08, 61.51, -35.00)
CIE-LCHlch(70.08, 70.77, 330.36°)
OKLaboklab(76.74% 0.175 -0.0954)
OKLCHoklch(76.74% 0.199 331.4)
XYZxyz(61.5405, 40.8669, 83.9873)
Luminance0.4086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97DEC #7DF98A
analogous
#C87DF9 #F97DEC #F97DAE
triadic
#F97DEC #ECF97D #7DECF9
tetradic
#F97DEC #F9C87D #7DF98A #7DAEF9
square
#F97DEC #F9C87D #7DF98A #7DAEF9
split-complementary
#F97DEC #AEF97D #7DF9C8
monochromatic
#F00BD8 #F642E3 #F97DEC #FCB7F5 #FEE2FB

Accessibility & contrast

On white

2.29
#F97DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#F97DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97DEC
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97DEC#FFFFFF#000000##000000
##F97DEC1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0F0
Deuteranopia (green-blind)
#9CB2E8
Tritanopia (blue-blind)
#FF87AA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f97dec;
/* rgb */ color: rgb(249, 125, 236);
/* oklch */ color: oklch(76.7% 0.199 331.4);
Tailwind
colors: {
  custom: {
    50: '#fea7f2',
    500: '#f97dec',
    950: '#000000',
  },
}
SCSS
$custom: #f97dec;
$custom-light: #fea7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f97dec",
  "rgb": {
    "r": 249,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 306.29,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7674,
    "c": 0.19928,
    "h": 331.4
  },
  "luminance": 0.40863
}

Semantic roles & 50–950 ramp

primary
#F97DEC
secondary
#D5F6D9
accent
#E61800
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F97DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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