#FB98FF#FB98FF

#FB98FF is a light, vivid purple. Relative luminance 0.502; OKLCH L 81.6% C 0.174 H 325.6°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#FB98FF
RGBrgb(251, 152, 255)
HSLhsl(298, 100%, 80%)
HSVhsv(298, 40%, 100%)
CMYKcmyk(1.6%, 40.4%, 0%, 0%)
CIE-LABlab(76.18, 52.15, -35.88)
CIE-LCHlch(76.18, 63.30, 325.47°)
OKLaboklab(81.59% 0.1435 -0.0981)
OKLCHoklch(81.59% 0.174 325.6)
XYZxyz(69.0603, 50.1887, 100.6380)
Luminance0.5019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB98FF #9CFF98
analogous
#C898FF #FB98FF #FF98D0
triadic
#FB98FF #FFFB98 #98FFFB
tetradic
#FB98FF #FFC898 #9CFF98 #98D0FF
square
#FB98FF #FFC898 #9CFF98 #98D0FF
split-complementary
#FB98FF #D0FF98 #98FFC8
monochromatic
#F61EFF #F95BFF #FB98FF #FDD5FF #FEE0FF

Accessibility & contrast

On white

1.90
#FB98FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#FB98FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB98FF
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB98FF#FFFFFF#000000##000000
##FB98FF1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB4FF
Deuteranopia (green-blind)
#A9C0FC
Tritanopia (blue-blind)
#FFA3C0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #fb98ff;
/* rgb */ color: rgb(251, 152, 255);
/* oklch */ color: oklch(81.6% 0.174 325.6);
Tailwind
colors: {
  custom: {
    50: '#feb8ff',
    500: '#fb98ff',
    950: '#000000',
  },
}
SCSS
$custom: #fb98ff;
$custom-light: #feb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb98ff",
  "rgb": {
    "r": 251,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 297.67,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.81587,
    "c": 0.17378,
    "h": 325.6
  },
  "luminance": 0.50186
}

Semantic roles & 50–950 ramp

primary
#FB98FF
secondary
#5FE259
accent
#E60009
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181218
muted
#868286

Preview Lab

Preview with #FB98FF

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

Preview Lab → · Contrast checker → · Palette generator →

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