#F98DF6#F98DF6

#F98DF6 is a light, vivid purple. Relative luminance 0.458; OKLCH L 79.4% C 0.182 H 328.1°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#F98DF6
RGBrgb(249, 141, 246)
HSLhsl(302, 90%, 76%)
HSVhsv(302, 43%, 98%)
CMYKcmyk(0%, 43.4%, 1.2%, 2.4%)
CIE-LABlab(73.45, 55.48, -35.26)
CIE-LCHlch(73.45, 65.74, 327.56°)
OKLaboklab(79.37% 0.1548 -0.0963)
OKLCHoklch(79.37% 0.182 328.1)
XYZxyz(65.2253, 45.8466, 92.5846)
Luminance0.4584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98DF6 #8DF990
analogous
#C68DF9 #F98DF6 #F98DC0
triadic
#F98DF6 #F6F98D #8DF6F9
tetradic
#F98DF6 #F9C68D #8DF990 #8DC0F9
square
#F98DF6 #F9C68D #8DF990 #8DC0F9
split-complementary
#F98DF6 #C0F98D #8DF9C6
monochromatic
#F319ED #F653F1 #F98DF6 #FCC7FB #FDE2FD

Accessibility & contrast

On white

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

On black

10.17
#F98DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98DF6
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98DF6#FFFFFF#000000##000000
##F98DF61.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ABFA
Deuteranopia (green-blind)
#A3BAF3
Tritanopia (blue-blind)
#FF97B6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f98df6;
/* rgb */ color: rgb(249, 141, 246);
/* oklch */ color: oklch(79.4% 0.182 328.1);
Tailwind
colors: {
  custom: {
    50: '#fdb1f9',
    500: '#f98df6',
    950: '#000000',
  },
}
SCSS
$custom: #f98df6;
$custom-light: #fdb1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f98df6",
  "rgb": {
    "r": 249,
    "g": 141,
    "b": 246
  },
  "hsl": {
    "h": 301.667,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79373,
    "c": 0.18234,
    "h": 328.1
  },
  "luminance": 0.45843
}

Semantic roles & 50–950 ramp

primary
#F98DF6
secondary
#D5F6D6
accent
#E60600
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F98DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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