#FB97F2#FB97F2

#FB97F2 is a light, vivid purple. Relative luminance 0.491; OKLCH L 80.9% C 0.164 H 330.3°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#FB97F2
RGBrgb(251, 151, 242)
HSLhsl(305, 93%, 79%)
HSVhsv(305, 40%, 98%)
CMYKcmyk(0%, 39.8%, 3.6%, 1.6%)
CIE-LABlab(75.49, 50.38, -29.92)
CIE-LCHlch(75.49, 58.59, 329.30°)
OKLaboklab(80.9% 0.1421 -0.0812)
OKLCHoklch(80.9% 0.164 330.3)
XYZxyz(66.8764, 49.0566, 89.9334)
Luminance0.4905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB97F2 #97FBA0
analogous
#D297FB #FB97F2 #FB97C0
triadic
#FB97F2 #F2FB97 #97F2FB
tetradic
#FB97F2 #FBD297 #97FBA0 #97C0FB
square
#FB97F2 #FBD297 #97FBA0 #97C0FB
split-complementary
#FB97F2 #C0FB97 #97FBD2
monochromatic
#F621E3 #F95CEB #FB97F2 #FDD2F9 #FEE2FB

Accessibility & contrast

On white

1.94
#FB97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#FB97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB97F2
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB97F2#FFFFFF#000000##000000
##FB97F21.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B1F5
Deuteranopia (green-blind)
#ADBFEF
Tritanopia (blue-blind)
#FF9EBA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #fb97f2;
/* rgb */ color: rgb(251, 151, 242);
/* oklch */ color: oklch(80.9% 0.164 330.3);
Tailwind
colors: {
  custom: {
    50: '#feb8f6',
    500: '#fb97f2',
    950: '#000000',
  },
}
SCSS
$custom: #fb97f2;
$custom-light: #feb8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb97f2",
  "rgb": {
    "r": 251,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 305.4,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.809,
    "c": 0.16361,
    "h": 330.3
  },
  "luminance": 0.49053
}

Semantic roles & 50–950 ramp

primary
#FB97F2
secondary
#D5F6D8
accent
#E61500
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FB97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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