#F796FD#F796FD

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

Color values

HEX#F796FD
RGBrgb(247, 150, 253)
HSLhsl(297, 96%, 79%)
HSVhsv(297, 41%, 99%)
CMYKcmyk(2.4%, 40.7%, 0%, 0.8%)
CIE-LABlab(75.25, 51.64, -36.28)
CIE-LCHlch(75.25, 63.11, 324.91°)
OKLaboklab(80.76% 0.1414 -0.0993)
OKLCHoklch(80.76% 0.173 324.9)
XYZxyz(66.9921, 48.6816, 98.7771)
Luminance0.4868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F796FD #9CFD96
analogous
#C496FD #F796FD #FD96D0
triadic
#F796FD #FDF796 #96FDF7
tetradic
#F796FD #FDC496 #9CFD96 #96D0FD
square
#F796FD #FDC496 #9CFD96 #96D0FD
split-complementary
#F796FD #D0FD96 #96FDC4
monochromatic
#EE1EFB #F25AFC #F796FD #FCD2FE #FDE1FE

Accessibility & contrast

On white

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

On black

10.74
#F796FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F796FD
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F796FD#FFFFFF#000000##000000
##F796FD1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f796fd;
/* rgb */ color: rgb(247, 150, 253);
/* oklch */ color: oklch(80.8% 0.173 324.9);
Tailwind
colors: {
  custom: {
    50: '#fbb7fe',
    500: '#f796fd',
    950: '#000000',
  },
}
SCSS
$custom: #f796fd;
$custom-light: #fbb7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f796fd",
  "rgb": {
    "r": 247,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 296.505,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.80764,
    "c": 0.17278,
    "h": 324.9
  },
  "luminance": 0.48679
}

Semantic roles & 50–950 ramp

primary
#F796FD
secondary
#D6F7D4
accent
#E6000D
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181118
muted
#868086

Preview Lab

Preview with #F796FD

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

Preview Lab → · Contrast checker → · Palette generator →

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