#FB98FD#FB98FD

#FB98FD is a light, vivid purple. Relative luminance 0.501; OKLCH L 81.5% C 0.172 H 326.3°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#FB98FD
RGBrgb(251, 152, 253)
HSLhsl(299, 96%, 79%)
HSVhsv(299, 40%, 99%)
CMYKcmyk(0.8%, 39.9%, 0%, 0.8%)
CIE-LABlab(76.11, 51.80, -34.92)
CIE-LCHlch(76.11, 62.47, 326.01°)
OKLaboklab(81.5% 0.143 -0.0954)
OKLCHoklch(81.5% 0.172 326.3)
XYZxyz(68.7401, 50.0606, 98.9513)
Luminance0.5006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB98FD #9AFD98
analogous
#C998FD #FB98FD #FD98CD
triadic
#FB98FD #FDFB98 #98FDFB
tetradic
#FB98FD #FDC998 #9AFD98 #98CDFD
square
#FB98FD #FDC998 #9AFD98 #98CDFD
split-complementary
#FB98FD #CDFD98 #98FDC9
monochromatic
#F620FB #F95CFC #FB98FD #FDD4FE #FEE1FE

Accessibility & contrast

On white

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

On black

11.01
#FB98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB98FD
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB98FD#FFFFFF#000000##000000
##FB98FD1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB4FF
Deuteranopia (green-blind)
#AAC0FA
Tritanopia (blue-blind)
#FFA2BF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #fb98fd;
/* rgb */ color: rgb(251, 152, 253);
/* oklch */ color: oklch(81.5% 0.172 326.3);
Tailwind
colors: {
  custom: {
    50: '#feb8fe',
    500: '#fb98fd',
    950: '#000000',
  },
}
SCSS
$custom: #fb98fd;
$custom-light: #feb8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fb98fd",
  "rgb": {
    "r": 251,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 298.812,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.81503,
    "c": 0.17191,
    "h": 326.3
  },
  "luminance": 0.50058
}

Semantic roles & 50–950 ramp

primary
#FB98FD
secondary
#5DDF5A
accent
#E60005
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181218
muted
#868286

Preview Lab

Preview with #FB98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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