#FC98EC#FC98EC

#FC98EC is a light, vivid purple. Relative luminance 0.492; OKLCH L 80.9% C 0.157 H 333.0°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#FC98EC
RGBrgb(252, 152, 236)
HSLhsl(310, 94%, 79%)
HSVhsv(310, 40%, 99%)
CMYKcmyk(0%, 39.7%, 6.3%, 1.2%)
CIE-LABlab(75.58, 49.15, -26.50)
CIE-LCHlch(75.58, 55.84, 331.67°)
OKLaboklab(80.92% 0.1403 -0.0715)
OKLCHoklch(80.92% 0.157 333)
XYZxyz(66.5129, 49.2115, 85.3360)
Luminance0.4921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC98EC #98FCA8
analogous
#DA98FC #FC98EC #FC98BA
triadic
#FC98EC #ECFC98 #98ECFC
tetradic
#FC98EC #FCDA98 #98FCA8 #98BAFC
square
#FC98EC #FCDA98 #98FCA8 #98BAFC
split-complementary
#FC98EC #BAFC98 #98FCDA
monochromatic
#F921D6 #FA5DE1 #FC98EC #FED3F7 #FEE1FA

Accessibility & contrast

On white

1.94
#FC98EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#FC98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC98EC
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC98EC#FFFFFF#000000##000000
##FC98EC1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fc98ec;
/* rgb */ color: rgb(252, 152, 236);
/* oklch */ color: oklch(80.9% 0.157 333.0);
Tailwind
colors: {
  custom: {
    50: '#ffb8f2',
    500: '#fc98ec',
    950: '#000000',
  },
}
SCSS
$custom: #fc98ec;
$custom-light: #ffb8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fc98ec",
  "rgb": {
    "r": 252,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 309.6,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.80924,
    "c": 0.15747,
    "h": 333
  },
  "luminance": 0.49208
}

Semantic roles & 50–950 ramp

primary
#FC98EC
secondary
#D5F6DA
accent
#E62500
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181217
muted
#868185

Preview Lab

Preview with #FC98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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