#FE98EF#FE98EF

#FE98EF is a light, vivid purple. Relative luminance 0.498; OKLCH L 81.3% C 0.161 H 332.5°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#FE98EF
RGBrgb(254, 152, 239)
HSLhsl(309, 98%, 80%)
HSVhsv(309, 40%, 100%)
CMYKcmyk(0%, 40.2%, 5.9%, 0.4%)
CIE-LABlab(75.92, 50.27, -27.58)
CIE-LCHlch(75.92, 57.34, 331.24°)
OKLaboklab(81.27% 0.1432 -0.0746)
OKLCHoklch(81.27% 0.161 332.5)
XYZxyz(67.6807, 49.7629, 87.6849)
Luminance0.4976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE98EF #98FEA7
analogous
#DA98FE #FE98EF #FE98BC
triadic
#FE98EF #EFFE98 #98EFFE
tetradic
#FE98EF #FEDA98 #98FEA7 #98BCFE
square
#FE98EF #FEDA98 #98FEA7 #98BCFE
split-complementary
#FE98EF #BCFE98 #98FEDA
monochromatic
#FD1FDC #FD5BE6 #FE98EF #FFD5F8 #FFE1FA

Accessibility & contrast

On white

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

On black

10.95
#FE98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE98EF
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE98EF#FFFFFF#000000##000000
##FE98EF1.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fe98ef;
/* rgb */ color: rgb(254, 152, 239);
/* oklch */ color: oklch(81.3% 0.161 332.5);
Tailwind
colors: {
  custom: {
    50: '#ffb8f4',
    500: '#fe98ef',
    950: '#000000',
  },
}
SCSS
$custom: #fe98ef;
$custom-light: #ffb8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fe98ef",
  "rgb": {
    "r": 254,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 308.824,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81267,
    "c": 0.16146,
    "h": 332.5
  },
  "luminance": 0.49759
}

Semantic roles & 50–950 ramp

primary
#FE98EF
secondary
#D4F7D9
accent
#E62200
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181217
muted
#868185

Preview Lab

Preview with #FE98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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