#FC98ED#FC98ED

#FC98ED is a light, vivid purple. Relative luminance 0.493; OKLCH L 81.0% C 0.158 H 332.6°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#FC98ED
RGBrgb(252, 152, 237)
HSLhsl(309, 94%, 79%)
HSVhsv(309, 40%, 99%)
CMYKcmyk(0%, 39.7%, 6%, 1.2%)
CIE-LABlab(75.62, 49.32, -26.98)
CIE-LCHlch(75.62, 56.22, 331.32°)
OKLaboklab(80.96% 0.1405 -0.0729)
OKLCHoklch(80.96% 0.158 332.6)
XYZxyz(66.6586, 49.2698, 86.1033)
Luminance0.4927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC98ED #98FCA7
analogous
#D998FC #FC98ED #FC98BB
triadic
#FC98ED #EDFC98 #98EDFC
tetradic
#FC98ED #FCD998 #98FCA7 #98BBFC
square
#FC98ED #FCD998 #98FCA7 #98BBFC
split-complementary
#FC98ED #BBFC98 #98FCD9
monochromatic
#F921D8 #FA5DE3 #FC98ED #FED3F7 #FEE1FA

Accessibility & contrast

On white

1.93
#FC98ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#FC98ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC98ED
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC98ED#FFFFFF#000000##000000
##FC98ED1.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B1F0
Deuteranopia (green-blind)
#B0BFEA
Tritanopia (blue-blind)
#FF9EB8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #fc98ed;
/* rgb */ color: rgb(252, 152, 237);
/* oklch */ color: oklch(81.0% 0.158 332.6);
Tailwind
colors: {
  custom: {
    50: '#ffb8f3',
    500: '#fc98ed',
    950: '#000000',
  },
}
SCSS
$custom: #fc98ed;
$custom-light: #ffb8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#fc98ed",
  "rgb": {
    "r": 252,
    "g": 152,
    "b": 237
  },
  "hsl": {
    "h": 309,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.80964,
    "c": 0.15833,
    "h": 332.6
  },
  "luminance": 0.49266
}

Semantic roles & 50–950 ramp

primary
#FC98ED
secondary
#D5F6DA
accent
#E62200
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181217
muted
#868185

Preview Lab

Preview with #FC98ED

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

Preview Lab → · Contrast checker → · Palette generator →

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