#FB97ED#FB97ED

#FB97ED is a light, vivid purple. Relative luminance 0.488; OKLCH L 80.7% C 0.159 H 332.2°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#FB97ED
RGBrgb(251, 151, 237)
HSLhsl(308, 93%, 79%)
HSVhsv(308, 40%, 98%)
CMYKcmyk(0%, 39.8%, 5.6%, 1.6%)
CIE-LABlab(75.30, 49.52, -27.48)
CIE-LCHlch(75.30, 56.64, 330.97°)
OKLaboklab(80.7% 0.1409 -0.0743)
OKLCHoklch(80.7% 0.159 332.2)
XYZxyz(66.1357, 48.7603, 86.0324)
Luminance0.4876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB97ED #97FBA5
analogous
#D797FB #FB97ED #FB97BB
triadic
#FB97ED #EDFB97 #97EDFB
tetradic
#FB97ED #FBD797 #97FBA5 #97BBFB
square
#FB97ED #FBD797 #97FBA5 #97BBFB
split-complementary
#FB97ED #BBFB97 #97FBD7
monochromatic
#F621D9 #F95CE3 #FB97ED #FDD2F7 #FEE2FA

Accessibility & contrast

On white

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

On black

10.75
#FB97ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB97ED
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB97ED#FFFFFF#000000##000000
##FB97ED1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb97ed;
/* rgb */ color: rgb(251, 151, 237);
/* oklch */ color: oklch(80.7% 0.159 332.2);
Tailwind
colors: {
  custom: {
    50: '#feb7f3',
    500: '#fb97ed',
    950: '#000000',
  },
}
SCSS
$custom: #fb97ed;
$custom-light: #feb7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb97ed",
  "rgb": {
    "r": 251,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 308.4,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.807,
    "c": 0.15928,
    "h": 332.2
  },
  "luminance": 0.48757
}

Semantic roles & 50–950 ramp

primary
#FB97ED
secondary
#D5F6DA
accent
#E62000
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB97ED

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

Preview Lab → · Contrast checker → · Palette generator →

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