#FC98FC#FC98FC

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

Color values

HEX#FC98FC
RGBrgb(252, 152, 252)
HSLhsl(300, 94%, 79%)
HSVhsv(300, 40%, 99%)
CMYKcmyk(0%, 39.7%, 0%, 1.2%)
CIE-LABlab(76.18, 51.91, -34.25)
CIE-LCHlch(76.18, 62.20, 326.58°)
OKLaboklab(81.57% 0.1439 -0.0934)
OKLCHoklch(81.57% 0.172 327)
XYZxyz(68.9425, 50.1834, 98.1314)
Luminance0.5018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC98FC #98FC98
analogous
#CA98FC #FC98FC #FC98CA
triadic
#FC98FC #FCFC98 #98FCFC
tetradic
#FC98FC #FCCA98 #98FC98 #98CAFC
square
#FC98FC #FCCA98 #98FC98 #98CAFC
split-complementary
#FC98FC #CAFC98 #98FCCA
monochromatic
#F921F9 #FA5DFA #FC98FC #FED3FE #FEE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FC98FC#FFFFFF#000000##000000
##FC98FC1.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)
#90B4FF
Deuteranopia (green-blind)
#ABC0F9
Tritanopia (blue-blind)
#FFA2BE
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #fc98fc;
/* rgb */ color: rgb(252, 152, 252);
/* oklch */ color: oklch(81.6% 0.172 327.0);
Tailwind
colors: {
  custom: {
    50: '#ffb8fd',
    500: '#fc98fc',
    950: '#000000',
  },
}
SCSS
$custom: #fc98fc;
$custom-light: #ffb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fc98fc",
  "rgb": {
    "r": 252,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 300,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.81571,
    "c": 0.17161,
    "h": 327
  },
  "luminance": 0.5018
}

Semantic roles & 50–950 ramp

primary
#FC98FC
secondary
#5BDD5B
accent
#E60000
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FC98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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