#F798FB#F798FB

#F798FB is a light, vivid purple. Relative luminance 0.492; OKLCH L 81.0% C 0.168 H 325.6°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#F798FB
RGBrgb(247, 152, 251)
HSLhsl(298, 93%, 79%)
HSVhsv(298, 39%, 98%)
CMYKcmyk(1.6%, 39.4%, 0%, 1.6%)
CIE-LABlab(75.57, 50.26, -34.70)
CIE-LCHlch(75.57, 61.08, 325.38°)
OKLaboklab(80.98% 0.1382 -0.0948)
OKLCHoklch(80.98% 0.168 325.6)
XYZxyz(66.9971, 49.1985, 97.2153)
Luminance0.4920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798FB #9CFB98
analogous
#C698FB #F798FB #FB98CE
triadic
#F798FB #FBF798 #98FBF7
tetradic
#F798FB #FBC698 #9CFB98 #98CEFB
square
#F798FB #FBC698 #9CFB98 #98CEFB
split-complementary
#F798FB #CEFB98 #98FBC6
monochromatic
#EE22F6 #F25DF9 #F798FB #FCD3FD #FDE2FE

Accessibility & contrast

On white

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

On black

10.84
#F798FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798FB
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798FB#FFFFFF#000000##000000
##F798FB1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FF
Deuteranopia (green-blind)
#A8BEF8
Tritanopia (blue-blind)
#FCA2BE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #f798fb;
/* rgb */ color: rgb(247, 152, 251);
/* oklch */ color: oklch(81.0% 0.168 325.6);
Tailwind
colors: {
  custom: {
    50: '#fbb8fd',
    500: '#f798fb',
    950: '#000000',
  },
}
SCSS
$custom: #f798fb;
$custom-light: #fbb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f798fb",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 297.576,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.8098,
    "c": 0.16757,
    "h": 325.6
  },
  "luminance": 0.49196
}

Semantic roles & 50–950 ramp

primary
#F798FB
secondary
#D6F6D5
accent
#E60009
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F798FB

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

Preview Lab → · Contrast checker → · Palette generator →

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