#F98DF9#F98DF9

#F98DF9 is a light, vivid purple. Relative luminance 0.460; OKLCH L 79.5% C 0.185 H 327.1°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#F98DF9
RGBrgb(249, 141, 249)
HSLhsl(300, 90%, 76%)
HSVhsv(300, 43%, 98%)
CMYKcmyk(0%, 43.4%, 0%, 2.4%)
CIE-LABlab(73.57, 56.01, -36.71)
CIE-LCHlch(73.57, 66.96, 326.76°)
OKLaboklab(79.5% 0.1554 -0.1004)
OKLCHoklch(79.5% 0.185 327.1)
XYZxyz(65.6895, 46.0323, 95.0292)
Luminance0.4603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98DF9 #8DF98D
analogous
#C38DF9 #F98DF9 #F98DC3
triadic
#F98DF9 #F9F98D #8DF9F9
tetradic
#F98DF9 #F9C38D #8DF98D #8DC3F9
square
#F98DF9 #F9C38D #8DF98D #8DC3F9
split-complementary
#F98DF9 #C3F98D #8DF9C3
monochromatic
#F319F3 #F653F6 #F98DF9 #FCC7FC #FDE2FD

Accessibility & contrast

On white

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

On black

10.21
#F98DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98DF9
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98DF9#FFFFFF#000000##000000
##F98DF91.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFD
Deuteranopia (green-blind)
#A2BAF6
Tritanopia (blue-blind)
#FF98B8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f98df9;
/* rgb */ color: rgb(249, 141, 249);
/* oklch */ color: oklch(79.5% 0.185 327.1);
Tailwind
colors: {
  custom: {
    50: '#fdb1fb',
    500: '#f98df9',
    950: '#000000',
  },
}
SCSS
$custom: #f98df9;
$custom-light: #fdb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f98df9",
  "rgb": {
    "r": 249,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 300,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79502,
    "c": 0.18502,
    "h": 327.1
  },
  "luminance": 0.46029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F98DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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