#F798F9#F798F9

#F798F9 is a light, vivid purple. Relative luminance 0.491; OKLCH L 80.9% C 0.166 H 326.2°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#F798F9
RGBrgb(247, 152, 249)
HSLhsl(299, 89%, 79%)
HSVhsv(299, 39%, 98%)
CMYKcmyk(0.8%, 39%, 0%, 2.4%)
CIE-LABlab(75.50, 49.90, -33.73)
CIE-LCHlch(75.50, 60.24, 325.94°)
OKLaboklab(80.9% 0.1378 -0.0921)
OKLCHoklch(80.9% 0.166 326.2)
XYZxyz(66.6835, 49.0731, 95.5637)
Luminance0.4907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798F9 #9AF998
analogous
#C698F9 #F798F9 #F998CA
triadic
#F798F9 #F9F798 #98F9F7
tetradic
#F798F9 #F9C698 #9AF998 #98CAF9
square
#F798F9 #F9C698 #9AF998 #98CAF9
split-complementary
#F798F9 #CAF998 #98F9C6
monochromatic
#EE24F2 #F35EF6 #F798F9 #FBD2FC #FDE2FD

Accessibility & contrast

On white

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

On black

10.81
#F798F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798F9
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798F9#FFFFFF#000000##000000
##F798F91.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B2FD
Deuteranopia (green-blind)
#A9BEF6
Tritanopia (blue-blind)
#FCA2BD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #f798f9;
/* rgb */ color: rgb(247, 152, 249);
/* oklch */ color: oklch(80.9% 0.166 326.2);
Tailwind
colors: {
  custom: {
    50: '#fbb8fb',
    500: '#f798f9',
    950: '#000000',
  },
}
SCSS
$custom: #f798f9;
$custom-light: #fbb8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f798f9",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 298.763,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.80896,
    "c": 0.16569,
    "h": 326.2
  },
  "luminance": 0.4907
}

Semantic roles & 50–950 ramp

primary
#F798F9
secondary
#D6F5D6
accent
#E60005
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F798F9

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

Preview Lab → · Contrast checker → · Palette generator →

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