#FB97FB#FB97FB

#FB97FB is a light, vivid purple. Relative luminance 0.496; OKLCH L 81.3% C 0.172 H 327.0°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#FB97FB
RGBrgb(251, 151, 251)
HSLhsl(300, 93%, 79%)
HSVhsv(300, 40%, 98%)
CMYKcmyk(0%, 39.8%, 0%, 1.6%)
CIE-LABlab(75.83, 51.95, -34.27)
CIE-LCHlch(75.83, 62.23, 326.59°)
OKLaboklab(81.27% 0.144 -0.0935)
OKLCHoklch(81.27% 0.172 327)
XYZxyz(68.2615, 49.6106, 97.2283)
Luminance0.4961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB97FB #97FB97
analogous
#C997FB #FB97FB #FB97C9
triadic
#FB97FB #FBFB97 #97FBFB
tetradic
#FB97FB #FBC997 #97FB97 #97C9FB
square
#FB97FB #FBC997 #97FB97 #97C9FB
split-complementary
#FB97FB #C9FB97 #97FBC9
monochromatic
#F621F6 #F95CF9 #FB97FB #FDD2FD #FEE2FE

Accessibility & contrast

On white

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

On black

10.92
#FB97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB97FB
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB97FB#FFFFFF#000000##000000
##FB97FB1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb97fb;
/* rgb */ color: rgb(251, 151, 251);
/* oklch */ color: oklch(81.3% 0.172 327.0);
Tailwind
colors: {
  custom: {
    50: '#feb8fd',
    500: '#fb97fb',
    950: '#000000',
  },
}
SCSS
$custom: #fb97fb;
$custom-light: #feb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb97fb",
  "rgb": {
    "r": 251,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 300,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.8127,
    "c": 0.17171,
    "h": 327
  },
  "luminance": 0.49607
}

Semantic roles & 50–950 ramp

primary
#FB97FB
secondary
#D5F6D5
accent
#E60000
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FB97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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