#FB97EF#FB97EF

#FB97EF is a light, vivid purple. Relative luminance 0.489; OKLCH L 80.8% C 0.161 H 331.4°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#FB97EF
RGBrgb(251, 151, 239)
HSLhsl(307, 93%, 79%)
HSVhsv(307, 40%, 98%)
CMYKcmyk(0%, 39.8%, 4.8%, 1.6%)
CIE-LABlab(75.38, 49.86, -28.46)
CIE-LCHlch(75.38, 57.41, 330.29°)
OKLaboklab(80.78% 0.1414 -0.0771)
OKLCHoklch(80.78% 0.161 331.4)
XYZxyz(66.4296, 48.8778, 87.5799)
Luminance0.4887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB97EF #97FBA3
analogous
#D597FB #FB97EF #FB97BD
triadic
#FB97EF #EFFB97 #97EFFB
tetradic
#FB97EF #FBD597 #97FBA3 #97BDFB
square
#FB97EF #FBD597 #97FBA3 #97BDFB
split-complementary
#FB97EF #BDFB97 #97FBD5
monochromatic
#F621DD #F95CE6 #FB97EF #FDD2F8 #FEE2FA

Accessibility & contrast

On white

1.95
#FB97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#FB97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB97EF
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB97EF#FFFFFF#000000##000000
##FB97EF1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B1F2
Deuteranopia (green-blind)
#AEBFEC
Tritanopia (blue-blind)
#FF9EB8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #fb97ef;
/* rgb */ color: rgb(251, 151, 239);
/* oklch */ color: oklch(80.8% 0.161 331.4);
Tailwind
colors: {
  custom: {
    50: '#feb8f4',
    500: '#fb97ef',
    950: '#000000',
  },
}
SCSS
$custom: #fb97ef;
$custom-light: #feb8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb97ef",
  "rgb": {
    "r": 251,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 307.2,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80779,
    "c": 0.161,
    "h": 331.4
  },
  "luminance": 0.48874
}

Semantic roles & 50–950 ramp

primary
#FB97EF
secondary
#D5F6D9
accent
#E61C00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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