#FC97EC#FC97EC

#FC97EC is a light, vivid purple. Relative luminance 0.489; OKLCH L 80.8% C 0.159 H 332.9°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#FC97EC
RGBrgb(252, 151, 236)
HSLhsl(310, 94%, 79%)
HSVhsv(310, 40%, 99%)
CMYKcmyk(0%, 40.1%, 6.3%, 1.2%)
CIE-LABlab(75.38, 49.66, -26.80)
CIE-LCHlch(75.38, 56.43, 331.64°)
OKLaboklab(80.77% 0.1417 -0.0724)
OKLCHoklch(80.77% 0.159 332.9)
XYZxyz(66.3513, 48.8883, 85.2821)
Luminance0.4889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC97EC #97FCA7
analogous
#DA97FC #FC97EC #FC97BA
triadic
#FC97EC #ECFC97 #97ECFC
tetradic
#FC97EC #FCDA97 #97FCA7 #97BAFC
square
#FC97EC #FCDA97 #97FCA7 #97BAFC
split-complementary
#FC97EC #BAFC97 #97FCDA
monochromatic
#F920D6 #FA5CE1 #FC97EC #FED2F7 #FEE1FA

Accessibility & contrast

On white

1.95
#FC97EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#FC97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC97EC
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC97EC#FFFFFF#000000##000000
##FC97EC1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B1EF
Deuteranopia (green-blind)
#B0BFE9
Tritanopia (blue-blind)
#FF9DB7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #fc97ec;
/* rgb */ color: rgb(252, 151, 236);
/* oklch */ color: oklch(80.8% 0.159 332.9);
Tailwind
colors: {
  custom: {
    50: '#ffb8f2',
    500: '#fc97ec',
    950: '#000000',
  },
}
SCSS
$custom: #fc97ec;
$custom-light: #ffb8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fc97ec",
  "rgb": {
    "r": 252,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 309.505,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.80773,
    "c": 0.15916,
    "h": 332.9
  },
  "luminance": 0.48885
}

Semantic roles & 50–950 ramp

primary
#FC97EC
secondary
#D5F6DA
accent
#E62400
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FC97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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