#F98AF9#F98AF9

#F98AF9 is a light, vivid purple. Relative luminance 0.452; OKLCH L 79.1% C 0.190 H 327.2°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#F98AF9
RGBrgb(249, 138, 249)
HSLhsl(300, 90%, 76%)
HSVhsv(300, 45%, 98%)
CMYKcmyk(0%, 44.6%, 0%, 2.4%)
CIE-LABlab(73.00, 57.48, -37.59)
CIE-LCHlch(73.00, 68.68, 326.82°)
OKLaboklab(79.08% 0.1596 -0.1029)
OKLCHoklch(79.08% 0.19 327.2)
XYZxyz(65.2531, 45.1596, 94.8837)
Luminance0.4516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98AF9 #8AF98A
analogous
#C18AF9 #F98AF9 #F98AC1
triadic
#F98AF9 #F9F98A #8AF9F9
tetradic
#F98AF9 #F9C18A #8AF98A #8AC1F9
square
#F98AF9 #F9C18A #8AF98A #8AC1F9
split-complementary
#F98AF9 #C1F98A #8AF9C1
monochromatic
#F316F3 #F650F6 #F98AF9 #FCC4FC #FEE2FE

Accessibility & contrast

On white

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

On black

10.03
#F98AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98AF9
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98AF9#FFFFFF#000000##000000
##F98AF91.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFD
Deuteranopia (green-blind)
#A0B8F6
Tritanopia (blue-blind)
#FF95B6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f98af9;
/* rgb */ color: rgb(249, 138, 249);
/* oklch */ color: oklch(79.1% 0.190 327.2);
Tailwind
colors: {
  custom: {
    50: '#fdaffb',
    500: '#f98af9',
    950: '#000000',
  },
}
SCSS
$custom: #f98af9;
$custom-light: #fdaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#f98af9",
  "rgb": {
    "r": 249,
    "g": 138,
    "b": 249
  },
  "hsl": {
    "h": 300,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.79078,
    "c": 0.18986,
    "h": 327.2
  },
  "luminance": 0.45156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F98AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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