#FC97FC#FC97FC

#FC97FC is a light, vivid purple. Relative luminance 0.499; OKLCH L 81.4% C 0.173 H 327.0°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#FC97FC
RGBrgb(252, 151, 252)
HSLhsl(300, 94%, 79%)
HSVhsv(300, 40%, 99%)
CMYKcmyk(0%, 40.1%, 0%, 1.2%)
CIE-LABlab(75.98, 52.42, -34.56)
CIE-LCHlch(75.98, 62.78, 326.60°)
OKLaboklab(81.42% 0.1453 -0.0943)
OKLCHoklch(81.42% 0.173 327)
XYZxyz(68.7808, 49.8601, 98.0776)
Luminance0.4986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC97FC #97FC97
analogous
#CA97FC #FC97FC #FC97CA
triadic
#FC97FC #FCFC97 #97FCFC
tetradic
#FC97FC #FCCA97 #97FC97 #97CAFC
square
#FC97FC #FCCA97 #97FC97 #97CAFC
split-complementary
#FC97FC #CAFC97 #97FCCA
monochromatic
#F920F9 #FA5CFA #FC97FC #FED2FE #FEE1FE

Accessibility & contrast

On white

1.91
#FC97FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#FC97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC97FC
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC97FC#FFFFFF#000000##000000
##FC97FC1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FF
Deuteranopia (green-blind)
#AAC0F9
Tritanopia (blue-blind)
#FFA1BE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #fc97fc;
/* rgb */ color: rgb(252, 151, 252);
/* oklch */ color: oklch(81.4% 0.173 327.0);
Tailwind
colors: {
  custom: {
    50: '#ffb8fd',
    500: '#fc97fc',
    950: '#000000',
  },
}
SCSS
$custom: #fc97fc;
$custom-light: #ffb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fc97fc",
  "rgb": {
    "r": 252,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 300,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.81423,
    "c": 0.17326,
    "h": 327
  },
  "luminance": 0.49857
}

Semantic roles & 50–950 ramp

primary
#FC97FC
secondary
#D5F6D5
accent
#E60000
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FC97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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