#F797FB#F797FB

#F797FB is a light, vivid purple. Relative luminance 0.489; OKLCH L 80.8% C 0.169 H 325.6°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#F797FB
RGBrgb(247, 151, 251)
HSLhsl(298, 93%, 79%)
HSVhsv(298, 40%, 98%)
CMYKcmyk(1.6%, 39.8%, 0%, 1.6%)
CIE-LABlab(75.37, 50.77, -35.01)
CIE-LCHlch(75.37, 61.67, 325.41°)
OKLaboklab(80.83% 0.1396 -0.0957)
OKLCHoklch(80.83% 0.169 325.6)
XYZxyz(66.8354, 48.8753, 97.1614)
Luminance0.4887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797FB #9BFB97
analogous
#C597FB #F797FB #FB97CD
triadic
#F797FB #FBF797 #97FBF7
tetradic
#F797FB #FBC597 #9BFB97 #97CDFB
square
#F797FB #FBC597 #9BFB97 #97CDFB
split-complementary
#F797FB #CDFB97 #97FBC5
monochromatic
#EE21F6 #F25CF9 #F797FB #FCD2FD #FDE2FE

Accessibility & contrast

On white

1.95
#F797FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#F797FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797FB
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797FB#FFFFFF#000000##000000
##F797FB1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FF
Deuteranopia (green-blind)
#A7BEF8
Tritanopia (blue-blind)
#FCA1BD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #f797fb;
/* rgb */ color: rgb(247, 151, 251);
/* oklch */ color: oklch(80.8% 0.169 325.6);
Tailwind
colors: {
  custom: {
    50: '#fbb7fd',
    500: '#f797fb',
    950: '#000000',
  },
}
SCSS
$custom: #f797fb;
$custom-light: #fbb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f797fb",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 297.6,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80829,
    "c": 0.16924,
    "h": 325.6
  },
  "luminance": 0.48872
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F797FB

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

Preview Lab → · Contrast checker → · Palette generator →

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