#F796FE#F796FE

#F796FE is a light, vivid purple. Relative luminance 0.487; OKLCH L 80.8% C 0.174 H 324.6°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#F796FE
RGBrgb(247, 150, 254)
HSLhsl(296, 98%, 79%)
HSVhsv(296, 41%, 100%)
CMYKcmyk(2.8%, 40.9%, 0%, 0.4%)
CIE-LABlab(75.29, 51.82, -36.76)
CIE-LCHlch(75.29, 63.53, 324.65°)
OKLaboklab(80.81% 0.1416 -0.1006)
OKLCHoklch(80.81% 0.174 324.6)
XYZxyz(67.1518, 48.7455, 99.6183)
Luminance0.4874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F796FE #9DFE96
analogous
#C396FE #F796FE #FE96D1
triadic
#F796FE #FEF796 #96FEF7
tetradic
#F796FE #FEC396 #9DFE96 #96D1FE
square
#F796FE #FEC396 #9DFE96 #96D1FE
split-complementary
#F796FE #D1FE96 #96FEC3
monochromatic
#EE1DFD #F259FD #F796FE #FCD3FF #FDE1FF

Accessibility & contrast

On white

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

On black

10.75
#F796FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F796FE
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F796FE#FFFFFF#000000##000000
##F796FE1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB2FF
Deuteranopia (green-blind)
#A5BEFB
Tritanopia (blue-blind)
#FBA1BE
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #f796fe;
/* rgb */ color: rgb(247, 150, 254);
/* oklch */ color: oklch(80.8% 0.174 324.6);
Tailwind
colors: {
  custom: {
    50: '#fbb7ff',
    500: '#f796fe',
    950: '#000000',
  },
}
SCSS
$custom: #f796fe;
$custom-light: #fbb7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f796fe",
  "rgb": {
    "r": 247,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 295.962,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.80807,
    "c": 0.17373,
    "h": 324.6
  },
  "luminance": 0.48743
}

Semantic roles & 50–950 ramp

primary
#F796FE
secondary
#D6F7D4
accent
#E6000F
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181118
muted
#868086

Preview Lab

Preview with #F796FE

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

Preview Lab → · Contrast checker → · Palette generator →

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