#F98CF9#F98CF9

#F98CF9 is a light, vivid purple. Relative luminance 0.457; OKLCH L 79.4% C 0.187 H 327.2°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#F98CF9
RGBrgb(249, 140, 249)
HSLhsl(300, 90%, 76%)
HSVhsv(300, 44%, 98%)
CMYKcmyk(0%, 43.8%, 0%, 2.4%)
CIE-LABlab(73.38, 56.50, -37.00)
CIE-LCHlch(73.38, 67.54, 326.78°)
OKLaboklab(79.36% 0.1568 -0.1012)
OKLCHoklch(79.36% 0.187 327.2)
XYZxyz(65.5427, 45.7387, 94.9803)
Luminance0.4573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98CF9 #8CF98C
analogous
#C38CF9 #F98CF9 #F98CC3
triadic
#F98CF9 #F9F98C #8CF9F9
tetradic
#F98CF9 #F9C38C #8CF98C #8CC3F9
square
#F98CF9 #F9C38C #8CF98C #8CC3F9
split-complementary
#F98CF9 #C3F98C #8CF9C3
monochromatic
#F318F3 #F652F6 #F98CF9 #FCC6FC #FDE2FD

Accessibility & contrast

On white

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

On black

10.15
#F98CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98CF9
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98CF9#FFFFFF#000000##000000
##F98CF91.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ABFD
Deuteranopia (green-blind)
#A1B9F6
Tritanopia (blue-blind)
#FF97B7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f98cf9;
/* rgb */ color: rgb(249, 140, 249);
/* oklch */ color: oklch(79.4% 0.187 327.2);
Tailwind
colors: {
  custom: {
    50: '#fdb0fb',
    500: '#f98cf9',
    950: '#000000',
  },
}
SCSS
$custom: #f98cf9;
$custom-light: #fdb0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f98cf9",
  "rgb": {
    "r": 249,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 300,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7936,
    "c": 0.18663,
    "h": 327.2
  },
  "luminance": 0.45735
}

Semantic roles & 50–950 ramp

primary
#F98CF9
secondary
#D5F6D5
accent
#E60000
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F98CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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