#FA97EF#FA97EF

#FA97EF is a light, vivid purple. Relative luminance 0.487; OKLCH L 80.7% C 0.160 H 331.0°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#FA97EF
RGBrgb(250, 151, 239)
HSLhsl(307, 91%, 79%)
HSVhsv(307, 40%, 98%)
CMYKcmyk(0%, 39.6%, 4.4%, 2%)
CIE-LABlab(75.26, 49.56, -28.64)
CIE-LCHlch(75.26, 57.24, 329.97°)
OKLaboklab(80.67% 0.1403 -0.0776)
OKLCHoklch(80.67% 0.16 331)
XYZxyz(66.0702, 48.6925, 87.5631)
Luminance0.4869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA97EF #97FAA2
analogous
#D397FA #FA97EF #FA97BD
triadic
#FA97EF #EFFA97 #97EFFA
tetradic
#FA97EF #FAD397 #97FAA2 #97BDFA
square
#FA97EF #FAD397 #97FAA2 #97BDFA
split-complementary
#FA97EF #BDFA97 #97FAD3
monochromatic
#F422DD #F75DE6 #FA97EF #FDD1F8 #FEE2FB

Accessibility & contrast

On white

1.96
#FA97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#FA97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA97EF
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA97EF#FFFFFF#000000##000000
##FA97EF1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B1F2
Deuteranopia (green-blind)
#AEBEEC
Tritanopia (blue-blind)
#FF9EB8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #fa97ef;
/* rgb */ color: rgb(250, 151, 239);
/* oklch */ color: oklch(80.7% 0.160 331.0);
Tailwind
colors: {
  custom: {
    50: '#fdb7f4',
    500: '#fa97ef',
    950: '#000000',
  },
}
SCSS
$custom: #fa97ef;
$custom-light: #fdb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fa97ef",
  "rgb": {
    "r": 250,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 306.667,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.80668,
    "c": 0.16029,
    "h": 331
  },
  "luminance": 0.48689
}

Semantic roles & 50–950 ramp

primary
#FA97EF
secondary
#D5F6D9
accent
#E61A00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FA97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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