#FC97F2#FC97F2

#FC97F2 is a light, vivid purple. Relative luminance 0.492; OKLCH L 81.0% C 0.164 H 330.6°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#FC97F2
RGBrgb(252, 151, 242)
HSLhsl(306, 94%, 79%)
HSVhsv(306, 40%, 99%)
CMYKcmyk(0%, 40.1%, 4%, 1.2%)
CIE-LABlab(75.60, 50.68, -29.73)
CIE-LCHlch(75.60, 58.75, 329.60°)
OKLaboklab(81.01% 0.1432 -0.0806)
OKLCHoklch(81.01% 0.164 330.6)
XYZxyz(67.2377, 49.2429, 89.9504)
Luminance0.4924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC97F2 #97FCA1
analogous
#D497FC #FC97F2 #FC97C0
triadic
#FC97F2 #F2FC97 #97F2FC
tetradic
#FC97F2 #FCD497 #97FCA1 #97C0FC
square
#FC97F2 #FCD497 #97FCA1 #97C0FC
split-complementary
#FC97F2 #C0FC97 #97FCD4
monochromatic
#F920E3 #FA5CEB #FC97F2 #FED2F9 #FEE1FB

Accessibility & contrast

On white

1.94
#FC97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#FC97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC97F2
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC97F2#FFFFFF#000000##000000
##FC97F21.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B2F5
Deuteranopia (green-blind)
#AEBFEF
Tritanopia (blue-blind)
#FF9EBA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #fc97f2;
/* rgb */ color: rgb(252, 151, 242);
/* oklch */ color: oklch(81.0% 0.164 330.6);
Tailwind
colors: {
  custom: {
    50: '#ffb8f6',
    500: '#fc97f2',
    950: '#000000',
  },
}
SCSS
$custom: #fc97f2;
$custom-light: #ffb8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fc97f2",
  "rgb": {
    "r": 252,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 305.941,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.81011,
    "c": 0.1643,
    "h": 330.6
  },
  "luminance": 0.49239
}

Semantic roles & 50–950 ramp

primary
#FC97F2
secondary
#D5F6D8
accent
#E61700
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FC97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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