#FB98FB#FB98FB

#FB98FB is a light, vivid purple. Relative luminance 0.499; OKLCH L 81.4% C 0.170 H 327.0°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#FB98FB
RGBrgb(251, 152, 251)
HSLhsl(300, 93%, 79%)
HSVhsv(300, 39%, 98%)
CMYKcmyk(0%, 39.4%, 0%, 1.6%)
CIE-LABlab(76.03, 51.44, -33.96)
CIE-LCHlch(76.03, 61.64, 326.57°)
OKLaboklab(81.42% 0.1426 -0.0926)
OKLCHoklch(81.42% 0.17 327)
XYZxyz(68.4231, 49.9339, 97.2821)
Luminance0.4993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB98FB #98FB98
analogous
#CA98FB #FB98FB #FB98CA
triadic
#FB98FB #FBFB98 #98FBFB
tetradic
#FB98FB #FBCA98 #98FB98 #98CAFB
square
#FB98FB #FBCA98 #98FB98 #98CAFB
split-complementary
#FB98FB #CAFB98 #98FBCA
monochromatic
#F622F6 #F95DF9 #FB98FB #FDD3FD #FEE2FE

Accessibility & contrast

On white

1.91
#FB98FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#FB98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB98FB
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB98FB#FFFFFF#000000##000000
##FB98FB1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B3FF
Deuteranopia (green-blind)
#ABC0F8
Tritanopia (blue-blind)
#FFA2BE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #fb98fb;
/* rgb */ color: rgb(251, 152, 251);
/* oklch */ color: oklch(81.4% 0.170 327.0);
Tailwind
colors: {
  custom: {
    50: '#feb8fd',
    500: '#fb98fb',
    950: '#000000',
  },
}
SCSS
$custom: #fb98fb;
$custom-light: #feb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb98fb",
  "rgb": {
    "r": 251,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 300,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.81419,
    "c": 0.17006,
    "h": 327
  },
  "luminance": 0.49931
}

Semantic roles & 50–950 ramp

primary
#FB98FB
secondary
#D5F6D5
accent
#E60000
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181217
muted
#868185

Preview Lab

Preview with #FB98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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