#FB98FA#FB98FA

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

Color values

HEX#FB98FA
RGBrgb(251, 152, 250)
HSLhsl(301, 93%, 79%)
HSVhsv(301, 39%, 98%)
CMYKcmyk(0%, 39.4%, 0.4%, 1.6%)
CIE-LABlab(75.99, 51.26, -33.48)
CIE-LCHlch(75.99, 61.23, 326.85°)
OKLaboklab(81.38% 0.1424 -0.0913)
OKLCHoklch(81.38% 0.169 327.3)
XYZxyz(68.2659, 49.8710, 96.4541)
Luminance0.4987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB98FA #98FB99
analogous
#CB98FB #FB98FA #FB98C9
triadic
#FB98FA #FAFB98 #98FAFB
tetradic
#FB98FA #FBCB98 #98FB99 #98C9FB
square
#FB98FA #FBCB98 #98FB99 #98C9FB
split-complementary
#FB98FA #C9FB98 #98FBCB
monochromatic
#F622F4 #F95DF7 #FB98FA #FDD3FD #FEE2FE

Accessibility & contrast

On white

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

On black

10.97
#FB98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB98FA
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB98FA#FFFFFF#000000##000000
##FB98FA1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B3FE
Deuteranopia (green-blind)
#ABC0F7
Tritanopia (blue-blind)
#FFA1BE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #fb98fa;
/* rgb */ color: rgb(251, 152, 250);
/* oklch */ color: oklch(81.4% 0.169 327.3);
Tailwind
colors: {
  custom: {
    50: '#feb8fc',
    500: '#fb98fa',
    950: '#000000',
  },
}
SCSS
$custom: #fb98fa;
$custom-light: #feb8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#fb98fa",
  "rgb": {
    "r": 251,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 300.606,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.81377,
    "c": 0.16913,
    "h": 327.3
  },
  "luminance": 0.49868
}

Semantic roles & 50–950 ramp

primary
#FB98FA
secondary
#D5F6D5
accent
#E60200
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181217
muted
#868185

Preview Lab

Preview with #FB98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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