#FC98EF#FC98EF

#FC98EF is a light, vivid purple. Relative luminance 0.494; OKLCH L 81.0% C 0.160 H 331.8°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#FC98EF
RGBrgb(252, 152, 239)
HSLhsl(308, 94%, 79%)
HSVhsv(308, 40%, 99%)
CMYKcmyk(0%, 39.7%, 5.2%, 1.2%)
CIE-LABlab(75.69, 49.66, -27.96)
CIE-LCHlch(75.69, 56.99, 330.62°)
OKLaboklab(81.04% 0.141 -0.0757)
OKLCHoklch(81.04% 0.16 331.8)
XYZxyz(66.9525, 49.3874, 87.6507)
Luminance0.4938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC98EF #98FCA5
analogous
#D798FC #FC98EF #FC98BD
triadic
#FC98EF #EFFC98 #98EFFC
tetradic
#FC98EF #FCD798 #98FCA5 #98BDFC
square
#FC98EF #FCD798 #98FCA5 #98BDFC
split-complementary
#FC98EF #BDFC98 #98FCD7
monochromatic
#F921DD #FA5DE6 #FC98EF #FED3F8 #FEE1FA

Accessibility & contrast

On white

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

On black

10.88
#FC98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC98EF
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC98EF#FFFFFF#000000##000000
##FC98EF1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B2F2
Deuteranopia (green-blind)
#AFC0EC
Tritanopia (blue-blind)
#FF9EB9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #fc98ef;
/* rgb */ color: rgb(252, 152, 239);
/* oklch */ color: oklch(81.0% 0.160 331.8);
Tailwind
colors: {
  custom: {
    50: '#ffb8f4',
    500: '#fc98ef',
    950: '#000000',
  },
}
SCSS
$custom: #fc98ef;
$custom-light: #ffb8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fc98ef",
  "rgb": {
    "r": 252,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 307.8,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.81042,
    "c": 0.16003,
    "h": 331.8
  },
  "luminance": 0.49384
}

Semantic roles & 50–950 ramp

primary
#FC98EF
secondary
#D5F6D9
accent
#E61E00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181217
muted
#868185

Preview Lab

Preview with #FC98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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