#FA97FB#FA97FB

#FA97FB is a light, vivid purple. Relative luminance 0.494; OKLCH L 81.2% C 0.171 H 326.7°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#FA97FB
RGBrgb(250, 151, 251)
HSLhsl(299, 93%, 79%)
HSVhsv(299, 40%, 98%)
CMYKcmyk(0.4%, 39.8%, 0%, 1.6%)
CIE-LABlab(75.72, 51.65, -34.45)
CIE-LCHlch(75.72, 62.09, 326.30°)
OKLaboklab(81.16% 0.1429 -0.094)
OKLCHoklch(81.16% 0.171 326.7)
XYZxyz(67.9022, 49.4253, 97.2114)
Luminance0.4942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA97FB #98FB97
analogous
#C897FB #FA97FB #FB97CA
triadic
#FA97FB #FBFA97 #97FBFA
tetradic
#FA97FB #FBC897 #98FB97 #97CAFB
square
#FA97FB #FBC897 #98FB97 #97CAFB
split-complementary
#FA97FB #CAFB97 #97FBC8
monochromatic
#F421F6 #F75CF9 #FA97FB #FDD2FD #FEE2FE

Accessibility & contrast

On white

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

On black

10.88
#FA97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA97FB
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA97FB#FFFFFF#000000##000000
##FA97FB1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fa97fb;
/* rgb */ color: rgb(250, 151, 251);
/* oklch */ color: oklch(81.2% 0.171 326.7);
Tailwind
colors: {
  custom: {
    50: '#fdb8fd',
    500: '#fa97fb',
    950: '#000000',
  },
}
SCSS
$custom: #fa97fb;
$custom-light: #fdb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fa97fb",
  "rgb": {
    "r": 250,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 299.4,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.81159,
    "c": 0.17108,
    "h": 326.7
  },
  "luminance": 0.49422
}

Semantic roles & 50–950 ramp

primary
#FA97FB
secondary
#D5F6D5
accent
#E60002
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FA97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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