#FB97FD#FB97FD

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

Color values

HEX#FB97FD
RGBrgb(251, 151, 253)
HSLhsl(299, 96%, 79%)
HSVhsv(299, 40%, 99%)
CMYKcmyk(0.8%, 40.3%, 0%, 0.8%)
CIE-LABlab(75.91, 52.30, -35.23)
CIE-LCHlch(75.91, 63.06, 326.04°)
OKLaboklab(81.35% 0.1444 -0.0962)
OKLCHoklch(81.35% 0.174 326.3)
XYZxyz(68.5785, 49.7374, 98.8974)
Luminance0.4973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB97FD #99FD97
analogous
#C897FD #FB97FD #FD97CC
triadic
#FB97FD #FDFB97 #97FDFB
tetradic
#FB97FD #FDC897 #99FD97 #97CCFD
square
#FB97FD #FDC897 #99FD97 #97CCFD
split-complementary
#FB97FD #CCFD97 #97FDC8
monochromatic
#F61FFB #F95BFC #FB97FD #FDD3FE #FEE1FE

Accessibility & contrast

On white

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

On black

10.95
#FB97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB97FD
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB97FD#FFFFFF#000000##000000
##FB97FD1.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb97fd;
/* rgb */ color: rgb(251, 151, 253);
/* oklch */ color: oklch(81.4% 0.174 326.3);
Tailwind
colors: {
  custom: {
    50: '#feb8fe',
    500: '#fb97fd',
    950: '#000000',
  },
}
SCSS
$custom: #fb97fd;
$custom-light: #feb8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fb97fd",
  "rgb": {
    "r": 251,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 298.824,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.81354,
    "c": 0.17355,
    "h": 326.3
  },
  "luminance": 0.49734
}

Semantic roles & 50–950 ramp

primary
#FB97FD
secondary
#D5F7D4
accent
#E60004
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181118
muted
#868086

Preview Lab

Preview with #FB97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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