#FA97FC#FA97FC

#FA97FC is a light, vivid purple. Relative luminance 0.495; OKLCH L 81.2% C 0.172 H 326.3°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#FA97FC
RGBrgb(250, 151, 252)
HSLhsl(299, 94%, 79%)
HSVhsv(299, 40%, 99%)
CMYKcmyk(0.8%, 40.1%, 0%, 1.2%)
CIE-LABlab(75.75, 51.83, -34.93)
CIE-LCHlch(75.75, 62.50, 326.02°)
OKLaboklab(81.2% 0.1431 -0.0954)
OKLCHoklch(81.2% 0.172 326.3)
XYZxyz(68.0602, 49.4885, 98.0438)
Luminance0.4949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA97FC #99FC97
analogous
#C897FC #FA97FC #FC97CC
triadic
#FA97FC #FCFA97 #97FCFA
tetradic
#FA97FC #FCC897 #99FC97 #97CCFC
square
#FA97FC #FCC897 #99FC97 #97CCFC
split-complementary
#FA97FC #CCFC97 #97FCC8
monochromatic
#F420F9 #F75CFA #FA97FC #FDD2FE #FEE1FE

Accessibility & contrast

On white

1.93
#FA97FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#FA97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA97FC
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA97FC#FFFFFF#000000##000000
##FA97FC1.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fa97fc;
/* rgb */ color: rgb(250, 151, 252);
/* oklch */ color: oklch(81.2% 0.172 326.3);
Tailwind
colors: {
  custom: {
    50: '#fdb8fd',
    500: '#fa97fc',
    950: '#000000',
  },
}
SCSS
$custom: #fa97fc;
$custom-light: #fdb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fa97fc",
  "rgb": {
    "r": 250,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 298.812,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.81201,
    "c": 0.17201,
    "h": 326.3
  },
  "luminance": 0.49485
}

Semantic roles & 50–950 ramp

primary
#FA97FC
secondary
#D5F6D5
accent
#E60005
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FA97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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