#FC98FB#FC98FB

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

Color values

HEX#FC98FB
RGBrgb(252, 152, 251)
HSLhsl(301, 94%, 79%)
HSVhsv(301, 40%, 99%)
CMYKcmyk(0%, 39.7%, 0.4%, 1.2%)
CIE-LABlab(76.14, 51.74, -33.77)
CIE-LCHlch(76.14, 61.78, 326.86°)
OKLaboklab(81.53% 0.1437 -0.0921)
OKLCHoklch(81.53% 0.171 327.4)
XYZxyz(68.7844, 50.1201, 97.2991)
Luminance0.5012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC98FB #98FC99
analogous
#CB98FC #FC98FB #FC98C9
triadic
#FC98FB #FBFC98 #98FBFC
tetradic
#FC98FB #FCCB98 #98FC99 #98C9FC
square
#FC98FB #FCCB98 #98FC99 #98C9FC
split-complementary
#FC98FB #C9FC98 #98FCCB
monochromatic
#F921F6 #FA5DF9 #FC98FB #FED3FD #FEE1FE

Accessibility & contrast

On white

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

On black

11.02
#FC98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC98FB
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC98FB#FFFFFF#000000##000000
##FC98FB1.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B4FF
Deuteranopia (green-blind)
#ABC0F8
Tritanopia (blue-blind)
#FFA1BE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #fc98fb;
/* rgb */ color: rgb(252, 152, 251);
/* oklch */ color: oklch(81.5% 0.171 327.4);
Tailwind
colors: {
  custom: {
    50: '#ffb8fd',
    500: '#fc98fb',
    950: '#000000',
  },
}
SCSS
$custom: #fc98fb;
$custom-light: #ffb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fc98fb",
  "rgb": {
    "r": 252,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 300.6,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.81529,
    "c": 0.17069,
    "h": 327.4
  },
  "luminance": 0.50117
}

Semantic roles & 50–950 ramp

primary
#FC98FB
secondary
#5BDD5C
accent
#E60200
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FC98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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