#FC98FD#FC98FD

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

Color values

HEX#FC98FD
RGBrgb(252, 152, 253)
HSLhsl(299, 96%, 79%)
HSVhsv(299, 40%, 99%)
CMYKcmyk(0.4%, 39.9%, 0%, 0.8%)
CIE-LABlab(76.22, 52.09, -34.73)
CIE-LCHlch(76.22, 62.61, 326.30°)
OKLaboklab(81.61% 0.1441 -0.0948)
OKLCHoklch(81.61% 0.173 326.7)
XYZxyz(69.1013, 50.2469, 98.9682)
Luminance0.5024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC98FD #99FD98
analogous
#CA98FD #FC98FD #FD98CC
triadic
#FC98FD #FDFC98 #98FDFC
tetradic
#FC98FD #FDCA98 #99FD98 #98CCFD
square
#FC98FD #FDCA98 #99FD98 #98CCFD
split-complementary
#FC98FD #CCFD98 #98FDCA
monochromatic
#F920FB #FA5CFC #FC98FD #FED4FE #FEE1FE

Accessibility & contrast

On white

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

On black

11.05
#FC98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC98FD
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC98FD#FFFFFF#000000##000000
##FC98FD1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fc98fd;
/* rgb */ color: rgb(252, 152, 253);
/* oklch */ color: oklch(81.6% 0.173 326.7);
Tailwind
colors: {
  custom: {
    50: '#ffb8fe',
    500: '#fc98fd',
    950: '#000000',
  },
}
SCSS
$custom: #fc98fd;
$custom-light: #ffb8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fc98fd",
  "rgb": {
    "r": 252,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 299.406,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.81613,
    "c": 0.17253,
    "h": 326.7
  },
  "luminance": 0.50244
}

Semantic roles & 50–950 ramp

primary
#FC98FD
secondary
#5CDF5A
accent
#E60002
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181218
muted
#868286

Preview Lab

Preview with #FC98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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