#FE98F2#FE98F2

#FE98F2 is a light, vivid purple. Relative luminance 0.499; OKLCH L 81.4% C 0.164 H 331.3°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#FE98F2
RGBrgb(254, 152, 242)
HSLhsl(307, 98%, 80%)
HSVhsv(307, 40%, 100%)
CMYKcmyk(0%, 40.2%, 4.7%, 0.4%)
CIE-LABlab(76.03, 50.78, -29.05)
CIE-LCHlch(76.03, 58.50, 330.23°)
OKLaboklab(81.38% 0.1439 -0.0787)
OKLCHoklch(81.38% 0.164 331.3)
XYZxyz(68.1276, 49.9416, 90.0384)
Luminance0.4994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE98F2 #98FEA4
analogous
#D798FE #FE98F2 #FE98BF
triadic
#FE98F2 #F2FE98 #98F2FE
tetradic
#FE98F2 #FED798 #98FEA4 #98BFFE
square
#FE98F2 #FED798 #98FEA4 #98BFFE
split-complementary
#FE98F2 #BFFE98 #98FED7
monochromatic
#FD1FE3 #FD5BEA #FE98F2 #FFD5FA #FFE1FB

Accessibility & contrast

On white

1.91
#FE98F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#FE98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE98F2
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE98F2#FFFFFF#000000##000000
##FE98F21.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B3F5
Deuteranopia (green-blind)
#B0C1EF
Tritanopia (blue-blind)
#FF9FBA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #fe98f2;
/* rgb */ color: rgb(254, 152, 242);
/* oklch */ color: oklch(81.4% 0.164 331.3);
Tailwind
colors: {
  custom: {
    50: '#ffb8f6',
    500: '#fe98f2',
    950: '#000000',
  },
}
SCSS
$custom: #fe98f2;
$custom-light: #ffb8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fe98f2",
  "rgb": {
    "r": 254,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 307.059,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81385,
    "c": 0.16402,
    "h": 331.3
  },
  "luminance": 0.49938
}

Semantic roles & 50–950 ramp

primary
#FE98F2
secondary
#D4F7D8
accent
#E61B00
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181217
muted
#868185

Preview Lab

Preview with #FE98F2

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

Preview Lab → · Contrast checker → · Palette generator →

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