#F98FEF#F98FEF

#F98FEF is a light, vivid purple. Relative luminance 0.460; OKLCH L 79.4% C 0.173 H 330.6°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#F98FEF
RGBrgb(249, 143, 239)
HSLhsl(306, 90%, 77%)
HSVhsv(306, 43%, 98%)
CMYKcmyk(0%, 42.6%, 4%, 2.4%)
CIE-LABlab(73.56, 53.28, -31.27)
CIE-LCHlch(73.56, 61.78, 329.59°)
OKLaboklab(79.37% 0.1506 -0.085)
OKLCHoklch(79.37% 0.173 330.6)
XYZxyz(64.4687, 46.0201, 87.1316)
Luminance0.4602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98FEF #8FF999
analogous
#CE8FF9 #F98FEF #F98FBA
triadic
#F98FEF #EFF98F #8FEFF9
tetradic
#F98FEF #F9CE8F #8FF999 #8FBAF9
square
#F98FEF #F9CE8F #8FF999 #8FBAF9
split-complementary
#F98FEF #BAF98F #8FF9CE
monochromatic
#F31BDE #F655E7 #F98FEF #FCC9F7 #FDE2FB

Accessibility & contrast

On white

2.06
#F98FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#F98FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98FEF
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98FEF#FFFFFF#000000##000000
##F98FEF1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF2
Deuteranopia (green-blind)
#A7BAEC
Tritanopia (blue-blind)
#FF97B4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f98fef;
/* rgb */ color: rgb(249, 143, 239);
/* oklch */ color: oklch(79.4% 0.173 330.6);
Tailwind
colors: {
  custom: {
    50: '#fdb2f4',
    500: '#f98fef',
    950: '#000000',
  },
}
SCSS
$custom: #f98fef;
$custom-light: #fdb2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f98fef",
  "rgb": {
    "r": 249,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 305.66,
    "s": 89.831,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79367,
    "c": 0.17292,
    "h": 330.6
  },
  "luminance": 0.46017
}

Semantic roles & 50–950 ramp

primary
#F98FEF
secondary
#D5F6D8
accent
#E61600
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #F98FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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