#FB97FE#FB97FE

#FB97FE is a light, vivid purple. Relative luminance 0.498; OKLCH L 81.4% C 0.174 H 326.0°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#FB97FE
RGBrgb(251, 151, 254)
HSLhsl(298, 98%, 79%)
HSVhsv(298, 41%, 100%)
CMYKcmyk(1.2%, 40.6%, 0%, 0.4%)
CIE-LABlab(75.95, 52.48, -35.71)
CIE-LCHlch(75.95, 63.48, 325.77°)
OKLaboklab(81.4% 0.1447 -0.0976)
OKLCHoklch(81.4% 0.174 326)
XYZxyz(68.7382, 49.8013, 99.7386)
Luminance0.4980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB97FE #9AFE97
analogous
#C797FE #FB97FE #FE97CE
triadic
#FB97FE #FEFB97 #97FEFB
tetradic
#FB97FE #FEC797 #9AFE97 #97CEFE
square
#FB97FE #FEC797 #9AFE97 #97CEFE
split-complementary
#FB97FE #CEFE97 #97FEC7
monochromatic
#F61EFD #F95AFD #FB97FE #FDD4FF #FEE1FF

Accessibility & contrast

On white

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

On black

10.96
#FB97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB97FE
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB97FE#FFFFFF#000000##000000
##FB97FE1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb97fe;
/* rgb */ color: rgb(251, 151, 254);
/* oklch */ color: oklch(81.4% 0.174 326.0);
Tailwind
colors: {
  custom: {
    50: '#feb8ff',
    500: '#fb97fe',
    950: '#000000',
  },
}
SCSS
$custom: #fb97fe;
$custom-light: #feb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb97fe",
  "rgb": {
    "r": 251,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 298.252,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.81396,
    "c": 0.17449,
    "h": 326
  },
  "luminance": 0.49798
}

Semantic roles & 50–950 ramp

primary
#FB97FE
secondary
#D5F7D4
accent
#E60007
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181118
muted
#868086

Preview Lab

Preview with #FB97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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