#F998F9#F998F9

#F998F9 is a light, vivid purple. Relative luminance 0.494; OKLCH L 81.1% C 0.167 H 327.0°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#F998F9
RGBrgb(249, 152, 249)
HSLhsl(300, 89%, 79%)
HSVhsv(300, 39%, 98%)
CMYKcmyk(0%, 39%, 0%, 2.4%)
CIE-LABlab(75.72, 50.50, -33.37)
CIE-LCHlch(75.72, 60.52, 326.54°)
OKLaboklab(81.12% 0.14 -0.091)
OKLCHoklch(81.12% 0.167 327)
XYZxyz(67.3927, 49.4388, 95.5969)
Luminance0.4944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F998F9 #98F998
analogous
#C898F9 #F998F9 #F998C8
triadic
#F998F9 #F9F998 #98F9F9
tetradic
#F998F9 #F9C898 #98F998 #98C8F9
square
#F998F9 #F9C898 #98F998 #98C8F9
split-complementary
#F998F9 #C8F998 #98F9C8
monochromatic
#F224F2 #F65EF6 #F998F9 #FCD2FC #FDE2FD

Accessibility & contrast

On white

1.93
#F998F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#F998F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F998F9
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F998F9#FFFFFF#000000##000000
##F998F91.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B3FC
Deuteranopia (green-blind)
#AABFF6
Tritanopia (blue-blind)
#FFA1BD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #f998f9;
/* rgb */ color: rgb(249, 152, 249);
/* oklch */ color: oklch(81.1% 0.167 327.0);
Tailwind
colors: {
  custom: {
    50: '#fdb8fb',
    500: '#f998f9',
    950: '#000000',
  },
}
SCSS
$custom: #f998f9;
$custom-light: #fdb8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f998f9",
  "rgb": {
    "r": 249,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 300,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.81115,
    "c": 0.16695,
    "h": 327
  },
  "luminance": 0.49436
}

Semantic roles & 50–950 ramp

primary
#F998F9
secondary
#D6F5D6
accent
#E60000
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181217
muted
#868185

Preview Lab

Preview with #F998F9

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

Preview Lab → · Contrast checker → · Palette generator →

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