#F98BF7#F98BF7

#F98BF7 is a light, vivid purple. Relative luminance 0.453; OKLCH L 79.1% C 0.186 H 327.8°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#F98BF7
RGBrgb(249, 139, 247)
HSLhsl(301, 90%, 76%)
HSVhsv(301, 44%, 98%)
CMYKcmyk(0%, 44.2%, 0.8%, 2.4%)
CIE-LABlab(73.10, 56.64, -36.33)
CIE-LCHlch(73.10, 67.29, 327.32°)
OKLaboklab(79.13% 0.1578 -0.0993)
OKLCHoklch(79.13% 0.186 327.8)
XYZxyz(65.0870, 45.3237, 93.2977)
Luminance0.4532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98BF7 #8BF98D
analogous
#C48BF9 #F98BF7 #F98BC0
triadic
#F98BF7 #F7F98B #8BF7F9
tetradic
#F98BF7 #F9C48B #8BF98D #8BC0F9
square
#F98BF7 #F9C48B #8BF98D #8BC0F9
split-complementary
#F98BF7 #C0F98B #8BF9C4
monochromatic
#F317EF #F651F3 #F98BF7 #FCC5FB #FDE2FD

Accessibility & contrast

On white

2.09
#F98BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#F98BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98BF7
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98BF7#FFFFFF#000000##000000
##F98BF71.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AAFB
Deuteranopia (green-blind)
#A1B9F4
Tritanopia (blue-blind)
#FF96B6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f98bf7;
/* rgb */ color: rgb(249, 139, 247);
/* oklch */ color: oklch(79.1% 0.186 327.8);
Tailwind
colors: {
  custom: {
    50: '#fdb0fa',
    500: '#f98bf7',
    950: '#000000',
  },
}
SCSS
$custom: #f98bf7;
$custom-light: #fdb0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f98bf7",
  "rgb": {
    "r": 249,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 301.091,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.79131,
    "c": 0.18646,
    "h": 327.8
  },
  "luminance": 0.4532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F98BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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