#F98FEC#F98FEC

#F98FEC is a light, vivid purple. Relative luminance 0.458; OKLCH L 79.2% C 0.170 H 331.7°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#F98FEC
RGBrgb(249, 143, 236)
HSLhsl(307, 90%, 77%)
HSVhsv(307, 43%, 98%)
CMYKcmyk(0%, 42.6%, 5.2%, 2.4%)
CIE-LABlab(73.44, 52.78, -29.81)
CIE-LCHlch(73.44, 60.61, 330.54°)
OKLaboklab(79.24% 0.1499 -0.0808)
OKLCHoklch(79.24% 0.17 331.7)
XYZxyz(64.0291, 45.8443, 84.8169)
Luminance0.4584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98FEC #8FF99C
analogous
#D18FF9 #F98FEC #F98FB7
triadic
#F98FEC #ECF98F #8FECF9
tetradic
#F98FEC #F9D18F #8FF99C #8FB7F9
square
#F98FEC #F9D18F #8FF99C #8FB7F9
split-complementary
#F98FEC #B7F98F #8FF9D1
monochromatic
#F31BD8 #F655E2 #F98FEC #FCC9F6 #FDE2FA

Accessibility & contrast

On white

2.07
#F98FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#F98FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98FEC
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98FEC#FFFFFF#000000##000000
##F98FEC1.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABEF
Deuteranopia (green-blind)
#A8BAE9
Tritanopia (blue-blind)
#FF96B3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f98fec;
/* rgb */ color: rgb(249, 143, 236);
/* oklch */ color: oklch(79.2% 0.170 331.7);
Tailwind
colors: {
  custom: {
    50: '#fdb2f2',
    500: '#f98fec',
    950: '#000000',
  },
}
SCSS
$custom: #f98fec;
$custom-light: #fdb2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f98fec",
  "rgb": {
    "r": 249,
    "g": 143,
    "b": 236
  },
  "hsl": {
    "h": 307.358,
    "s": 89.831,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79244,
    "c": 0.17034,
    "h": 331.7
  },
  "luminance": 0.45841
}

Semantic roles & 50–950 ramp

primary
#F98FEC
secondary
#D5F6D9
accent
#E61C00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #F98FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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