#F998F2#F998F2

#F998F2 is a light, vivid purple. Relative luminance 0.490; OKLCH L 80.8% C 0.161 H 329.5°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#F998F2
RGBrgb(249, 152, 242)
HSLhsl(304, 89%, 79%)
HSVhsv(304, 39%, 98%)
CMYKcmyk(0%, 39%, 2.8%, 2.4%)
CIE-LABlab(75.46, 49.27, -29.98)
CIE-LCHlch(75.46, 57.67, 328.68°)
OKLaboklab(80.83% 0.1384 -0.0814)
OKLCHoklch(80.83% 0.161 329.5)
XYZxyz(66.3212, 49.0102, 89.9537)
Luminance0.4901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F998F2 #98F99F
analogous
#CF98F9 #F998F2 #F998C1
triadic
#F998F2 #F2F998 #98F2F9
tetradic
#F998F2 #F9CF98 #98F99F #98C1F9
square
#F998F2 #F9CF98 #98F99F #98C1F9
split-complementary
#F998F2 #C1F998 #98F9CF
monochromatic
#F224E3 #F65EEB #F998F2 #FCD2F9 #FDE2FB

Accessibility & contrast

On white

1.94
#F998F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#F998F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F998F2
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F998F2#FFFFFF#000000##000000
##F998F21.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B2F5
Deuteranopia (green-blind)
#ADBFEF
Tritanopia (blue-blind)
#FF9FBA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #f998f2;
/* rgb */ color: rgb(249, 152, 242);
/* oklch */ color: oklch(80.8% 0.161 329.5);
Tailwind
colors: {
  custom: {
    50: '#fdb8f6',
    500: '#f998f2',
    950: '#000000',
  },
}
SCSS
$custom: #f998f2;
$custom-light: #fdb8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f998f2",
  "rgb": {
    "r": 249,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 304.33,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.80828,
    "c": 0.16057,
    "h": 329.5
  },
  "luminance": 0.49007
}

Semantic roles & 50–950 ramp

primary
#F998F2
secondary
#D6F5D8
accent
#E61100
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #F998F2

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

Preview Lab → · Contrast checker → · Palette generator →

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