#FB97FC#FB97FC

#FB97FC is a light, vivid purple. Relative luminance 0.497; OKLCH L 81.3% C 0.173 H 326.7°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#FB97FC
RGBrgb(251, 151, 252)
HSLhsl(299, 94%, 79%)
HSVhsv(299, 40%, 99%)
CMYKcmyk(0.4%, 40.1%, 0%, 1.2%)
CIE-LABlab(75.87, 52.12, -34.75)
CIE-LCHlch(75.87, 62.64, 326.31°)
OKLaboklab(81.31% 0.1442 -0.0949)
OKLCHoklch(81.31% 0.173 326.7)
XYZxyz(68.4196, 49.6738, 98.0606)
Luminance0.4967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB97FC #98FC97
analogous
#C997FC #FB97FC #FC97CB
triadic
#FB97FC #FCFB97 #97FCFB
tetradic
#FB97FC #FCC997 #98FC97 #97CBFC
square
#FB97FC #FCC997 #98FC97 #97CBFC
split-complementary
#FB97FC #CBFC97 #97FCC9
monochromatic
#F620F9 #F95CFA #FB97FC #FDD2FE #FEE1FE

Accessibility & contrast

On white

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

On black

10.93
#FB97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB97FC
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB97FC#FFFFFF#000000##000000
##FB97FC1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb97fc;
/* rgb */ color: rgb(251, 151, 252);
/* oklch */ color: oklch(81.3% 0.173 326.7);
Tailwind
colors: {
  custom: {
    50: '#feb8fd',
    500: '#fb97fc',
    950: '#000000',
  },
}
SCSS
$custom: #fb97fc;
$custom-light: #feb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb97fc",
  "rgb": {
    "r": 251,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 299.406,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.81312,
    "c": 0.17264,
    "h": 326.7
  },
  "luminance": 0.49671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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