#FD98EF#FD98EF

#FD98EF is a light, vivid purple. Relative luminance 0.496; OKLCH L 81.2% C 0.161 H 332.1°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#FD98EF
RGBrgb(253, 152, 239)
HSLhsl(308, 96%, 79%)
HSVhsv(308, 40%, 99%)
CMYKcmyk(0%, 39.9%, 5.5%, 0.8%)
CIE-LABlab(75.81, 49.96, -27.77)
CIE-LCHlch(75.81, 57.16, 330.93°)
OKLaboklab(81.15% 0.1421 -0.0751)
OKLCHoklch(81.15% 0.161 332.1)
XYZxyz(67.3156, 49.5746, 87.6678)
Luminance0.4957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FD98EF #98FDA6
analogous
#D998FD #FD98EF #FD98BD
triadic
#FD98EF #EFFD98 #98EFFD
tetradic
#FD98EF #FDD998 #98FDA6 #98BDFD
square
#FD98EF #FDD998 #98FDA6 #98BDFD
split-complementary
#FD98EF #BDFD98 #98FDD9
monochromatic
#FB20DC #FC5CE6 #FD98EF #FED4F8 #FEE1FA

Accessibility & contrast

On white

1.92
#FD98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#FD98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FD98EF
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FD98EF#FFFFFF#000000##000000
##FD98EF1.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B2F2
Deuteranopia (green-blind)
#B0C0EC
Tritanopia (blue-blind)
#FF9EB9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #fd98ef;
/* rgb */ color: rgb(253, 152, 239);
/* oklch */ color: oklch(81.2% 0.161 332.1);
Tailwind
colors: {
  custom: {
    50: '#ffb8f4',
    500: '#fd98ef',
    950: '#000000',
  },
}
SCSS
$custom: #fd98ef;
$custom-light: #ffb8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fd98ef",
  "rgb": {
    "r": 253,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 308.317,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.81154,
    "c": 0.16075,
    "h": 332.1
  },
  "luminance": 0.49571
}

Semantic roles & 50–950 ramp

primary
#FD98EF
secondary
#D4F7D9
accent
#E62000
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181217
muted
#868185

Preview Lab

Preview with #FD98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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