#FB97EC#FB97EC

#FB97EC is a light, vivid purple. Relative luminance 0.487; OKLCH L 80.7% C 0.158 H 332.6°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#FB97EC
RGBrgb(251, 151, 236)
HSLhsl(309, 93%, 79%)
HSVhsv(309, 40%, 98%)
CMYKcmyk(0%, 39.8%, 6%, 1.6%)
CIE-LABlab(75.27, 49.36, -26.99)
CIE-LCHlch(75.27, 56.25, 331.33°)
OKLaboklab(80.66% 0.1406 -0.0729)
OKLCHoklch(80.66% 0.158 332.6)
XYZxyz(65.9901, 48.7020, 85.2652)
Luminance0.4870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB97EC #97FBA6
analogous
#D897FB #FB97EC #FB97BA
triadic
#FB97EC #ECFB97 #97ECFB
tetradic
#FB97EC #FBD897 #97FBA6 #97BAFB
square
#FB97EC #FBD897 #97FBA6 #97BAFB
split-complementary
#FB97EC #BAFB97 #97FBD8
monochromatic
#F621D6 #F95CE1 #FB97EC #FDD2F7 #FEE2FA

Accessibility & contrast

On white

1.96
#FB97EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#FB97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB97EC
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB97EC#FFFFFF#000000##000000
##FB97EC1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B1EF
Deuteranopia (green-blind)
#AFBFE9
Tritanopia (blue-blind)
#FF9DB7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #fb97ec;
/* rgb */ color: rgb(251, 151, 236);
/* oklch */ color: oklch(80.7% 0.158 332.6);
Tailwind
colors: {
  custom: {
    50: '#feb7f2',
    500: '#fb97ec',
    950: '#000000',
  },
}
SCSS
$custom: #fb97ec;
$custom-light: #feb7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb97ec",
  "rgb": {
    "r": 251,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 309,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80661,
    "c": 0.15843,
    "h": 332.6
  },
  "luminance": 0.48699
}

Semantic roles & 50–950 ramp

primary
#FB97EC
secondary
#D5F6DA
accent
#E62200
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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