#FA97FE#FA97FE

#FA97FE is a light, vivid purple. Relative luminance 0.496; OKLCH L 81.3% C 0.174 H 325.6°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#FA97FE
RGBrgb(250, 151, 254)
HSLhsl(298, 98%, 79%)
HSVhsv(298, 41%, 100%)
CMYKcmyk(1.6%, 40.6%, 0%, 0.4%)
CIE-LABlab(75.83, 52.19, -35.89)
CIE-LCHlch(75.83, 63.34, 325.48°)
OKLaboklab(81.29% 0.1435 -0.0981)
OKLCHoklch(81.29% 0.174 325.6)
XYZxyz(68.3788, 49.6160, 99.7217)
Luminance0.4961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA97FE #9BFE97
analogous
#C797FE #FA97FE #FE97CF
triadic
#FA97FE #FEFA97 #97FEFA
tetradic
#FA97FE #FEC797 #9BFE97 #97CFFE
square
#FA97FE #FEC797 #9BFE97 #97CFFE
split-complementary
#FA97FE #CFFE97 #97FEC7
monochromatic
#F41EFD #F75AFD #FA97FE #FDD4FF #FEE1FF

Accessibility & contrast

On white

1.92
#FA97FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#FA97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA97FE
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA97FE#FFFFFF#000000##000000
##FA97FE1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#A8BFFB
Tritanopia (blue-blind)
#FFA2BF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #fa97fe;
/* rgb */ color: rgb(250, 151, 254);
/* oklch */ color: oklch(81.3% 0.174 325.6);
Tailwind
colors: {
  custom: {
    50: '#feb8ff',
    500: '#fa97fe',
    950: '#000000',
  },
}
SCSS
$custom: #fa97fe;
$custom-light: #feb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fa97fe",
  "rgb": {
    "r": 250,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 297.67,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.81286,
    "c": 0.17388,
    "h": 325.6
  },
  "luminance": 0.49613
}

Semantic roles & 50–950 ramp

primary
#FA97FE
secondary
#D5F7D4
accent
#E60009
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181118
muted
#868086

Preview Lab

Preview with #FA97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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