#FC98FE#FC98FE

#FC98FE is a light, vivid purple. Relative luminance 0.503; OKLCH L 81.7% C 0.173 H 326.3°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#FC98FE
RGBrgb(252, 152, 254)
HSLhsl(299, 98%, 80%)
HSVhsv(299, 40%, 100%)
CMYKcmyk(0.8%, 40.2%, 0%, 0.4%)
CIE-LABlab(76.26, 52.27, -35.21)
CIE-LCHlch(76.26, 63.02, 326.03°)
OKLaboklab(81.66% 0.1444 -0.0962)
OKLCHoklch(81.66% 0.173 326.3)
XYZxyz(69.2611, 50.3108, 99.8094)
Luminance0.5031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC98FE #9AFE98
analogous
#C998FE #FC98FE #FE98CD
triadic
#FC98FE #FEFC98 #98FEFC
tetradic
#FC98FE #FEC998 #9AFE98 #98CDFE
square
#FC98FE #FEC998 #9AFE98 #98CDFE
split-complementary
#FC98FE #CDFE98 #98FEC9
monochromatic
#F81FFD #FA5BFD #FC98FE #FED5FF #FEE1FF

Accessibility & contrast

On white

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

On black

11.06
#FC98FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC98FE
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC98FE#FFFFFF#000000##000000
##FC98FE1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fc98fe;
/* rgb */ color: rgb(252, 152, 254);
/* oklch */ color: oklch(81.7% 0.173 326.3);
Tailwind
colors: {
  custom: {
    50: '#ffb8ff',
    500: '#fc98fe',
    950: '#000000',
  },
}
SCSS
$custom: #fc98fe;
$custom-light: #ffb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fc98fe",
  "rgb": {
    "r": 252,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 298.824,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81655,
    "c": 0.17346,
    "h": 326.3
  },
  "luminance": 0.50308
}

Semantic roles & 50–950 ramp

primary
#FC98FE
secondary
#5DE05A
accent
#E60004
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181218
muted
#868286

Preview Lab

Preview with #FC98FE

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

Preview Lab → · Contrast checker → · Palette generator →

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