#F796FB#F796FB

#F796FB is a light, vivid purple. Relative luminance 0.486; OKLCH L 80.7% C 0.171 H 325.6°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#F796FB
RGBrgb(247, 150, 251)
HSLhsl(298, 93%, 79%)
HSVhsv(298, 40%, 98%)
CMYKcmyk(1.6%, 40.2%, 0%, 1.6%)
CIE-LABlab(75.17, 51.28, -35.32)
CIE-LCHlch(75.17, 62.26, 325.44°)
OKLaboklab(80.68% 0.141 -0.0965)
OKLCHoklch(80.68% 0.171 325.6)
XYZxyz(66.6752, 48.5548, 97.1080)
Luminance0.4855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F796FB #9AFB96
analogous
#C496FB #F796FB #FB96CC
triadic
#F796FB #FBF796 #96FBF7
tetradic
#F796FB #FBC496 #9AFB96 #96CCFB
square
#F796FB #FBC496 #9AFB96 #96CCFB
split-complementary
#F796FB #CCFB96 #96FBC4
monochromatic
#EE20F7 #F35BF9 #F796FB #FBD1FD #FDE2FE

Accessibility & contrast

On white

1.96
#F796FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#F796FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F796FB
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F796FB#FFFFFF#000000##000000
##F796FB1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FF
Deuteranopia (green-blind)
#A7BDF8
Tritanopia (blue-blind)
#FCA0BD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #f796fb;
/* rgb */ color: rgb(247, 150, 251);
/* oklch */ color: oklch(80.7% 0.171 325.6);
Tailwind
colors: {
  custom: {
    50: '#fbb7fd',
    500: '#f796fb',
    950: '#000000',
  },
}
SCSS
$custom: #f796fb;
$custom-light: #fbb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f796fb",
  "rgb": {
    "r": 247,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 297.624,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.80679,
    "c": 0.17089,
    "h": 325.6
  },
  "luminance": 0.48552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F796FB

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

Preview Lab → · Contrast checker → · Palette generator →

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