#F796FC#F796FC

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

Color values

HEX#F796FC
RGBrgb(247, 150, 252)
HSLhsl(297, 94%, 79%)
HSVhsv(297, 40%, 99%)
CMYKcmyk(2%, 40.5%, 0%, 1.2%)
CIE-LABlab(75.21, 51.46, -35.80)
CIE-LCHlch(75.21, 62.69, 325.18°)
OKLaboklab(80.72% 0.1412 -0.0979)
OKLCHoklch(80.72% 0.172 325.3)
XYZxyz(66.8332, 48.6180, 97.9404)
Luminance0.4862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F796FC #9BFC96
analogous
#C496FC #F796FC #FC96CE
triadic
#F796FC #FCF796 #96FCF7
tetradic
#F796FC #FCC496 #9BFC96 #96CEFC
square
#F796FC #FCC496 #9BFC96 #96CEFC
split-complementary
#F796FC #CEFC96 #96FCC4
monochromatic
#EE1FF9 #F25BFA #F796FC #FCD2FE #FDE1FE

Accessibility & contrast

On white

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

On black

10.72
#F796FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F796FC
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F796FC#FFFFFF#000000##000000
##F796FC1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#A6BDF9
Tritanopia (blue-blind)
#FCA1BD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #f796fc;
/* rgb */ color: rgb(247, 150, 252);
/* oklch */ color: oklch(80.7% 0.172 325.3);
Tailwind
colors: {
  custom: {
    50: '#fbb7fd',
    500: '#f796fc',
    950: '#000000',
  },
}
SCSS
$custom: #f796fc;
$custom-light: #fbb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f796fc",
  "rgb": {
    "r": 247,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 297.059,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80722,
    "c": 0.17183,
    "h": 325.3
  },
  "luminance": 0.48615
}

Semantic roles & 50–950 ramp

primary
#F796FC
secondary
#D6F6D5
accent
#E6000B
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F796FC

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

Preview Lab → · Contrast checker → · Palette generator →

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