#F98DF7#F98DF7

#F98DF7 is a light, vivid purple. Relative luminance 0.459; OKLCH L 79.4% C 0.183 H 327.8°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#F98DF7
RGBrgb(249, 141, 247)
HSLhsl(301, 90%, 76%)
HSVhsv(301, 43%, 98%)
CMYKcmyk(0%, 43.4%, 0.8%, 2.4%)
CIE-LABlab(73.49, 55.66, -35.74)
CIE-LCHlch(73.49, 66.14, 327.29°)
OKLaboklab(79.42% 0.155 -0.0976)
OKLCHoklch(79.42% 0.183 327.8)
XYZxyz(65.3792, 45.9082, 93.3951)
Luminance0.4591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98DF7 #8DF98F
analogous
#C58DF9 #F98DF7 #F98DC1
triadic
#F98DF7 #F7F98D #8DF7F9
tetradic
#F98DF7 #F9C58D #8DF98F #8DC1F9
square
#F98DF7 #F9C58D #8DF98F #8DC1F9
split-complementary
#F98DF7 #C1F98D #8DF9C5
monochromatic
#F319EF #F653F3 #F98DF7 #FCC7FB #FDE2FD

Accessibility & contrast

On white

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

On black

10.18
#F98DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98DF7
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98DF7#FFFFFF#000000##000000
##F98DF71.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ACFB
Deuteranopia (green-blind)
#A3BAF4
Tritanopia (blue-blind)
#FF97B7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f98df7;
/* rgb */ color: rgb(249, 141, 247);
/* oklch */ color: oklch(79.4% 0.183 327.8);
Tailwind
colors: {
  custom: {
    50: '#fdb1fa',
    500: '#f98df7',
    950: '#000000',
  },
}
SCSS
$custom: #f98df7;
$custom-light: #fdb1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f98df7",
  "rgb": {
    "r": 249,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 301.111,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79416,
    "c": 0.18322,
    "h": 327.8
  },
  "luminance": 0.45905
}

Semantic roles & 50–950 ramp

primary
#F98DF7
secondary
#D5F6D6
accent
#E60400
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F98DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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