#FB98FC#FB98FC

#FB98FC is a light, vivid purple. Relative luminance 0.500; OKLCH L 81.5% C 0.171 H 326.7°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#FB98FC
RGBrgb(251, 152, 252)
HSLhsl(299, 94%, 79%)
HSVhsv(299, 40%, 99%)
CMYKcmyk(0.4%, 39.7%, 0%, 1.2%)
CIE-LABlab(76.07, 51.62, -34.44)
CIE-LCHlch(76.07, 62.05, 326.29°)
OKLaboklab(81.46% 0.1428 -0.094)
OKLCHoklch(81.46% 0.171 326.7)
XYZxyz(68.5812, 49.9971, 98.1145)
Luminance0.4999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB98FC #99FC98
analogous
#C998FC #FB98FC #FC98CB
triadic
#FB98FC #FCFB98 #98FCFB
tetradic
#FB98FC #FCC998 #99FC98 #98CBFC
square
#FB98FC #FCC998 #99FC98 #98CBFC
split-complementary
#FB98FC #CBFC98 #98FCC9
monochromatic
#F621F9 #F95DFA #FB98FC #FDD3FE #FEE1FE

Accessibility & contrast

On white

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

On black

11.00
#FB98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB98FC
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB98FC#FFFFFF#000000##000000
##FB98FC1.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B4FF
Deuteranopia (green-blind)
#AAC0F9
Tritanopia (blue-blind)
#FFA2BE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #fb98fc;
/* rgb */ color: rgb(251, 152, 252);
/* oklch */ color: oklch(81.5% 0.171 326.7);
Tailwind
colors: {
  custom: {
    50: '#feb8fd',
    500: '#fb98fc',
    950: '#000000',
  },
}
SCSS
$custom: #fb98fc;
$custom-light: #feb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb98fc",
  "rgb": {
    "r": 251,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 299.4,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.81461,
    "c": 0.17098,
    "h": 326.7
  },
  "luminance": 0.49994
}

Semantic roles & 50–950 ramp

primary
#FB98FC
secondary
#D5F6D5
accent
#E60002
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181217
muted
#868185

Preview Lab

Preview with #FB98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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