#F796FA#F796FA

#F796FA is a light, vivid purple. Relative luminance 0.485; OKLCH L 80.6% C 0.170 H 325.9°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#F796FA
RGBrgb(247, 150, 250)
HSLhsl(298, 91%, 78%)
HSVhsv(298, 40%, 98%)
CMYKcmyk(1.2%, 40%, 0%, 2%)
CIE-LABlab(75.13, 51.10, -34.84)
CIE-LCHlch(75.13, 61.84, 325.72°)
OKLaboklab(80.64% 0.1408 -0.0952)
OKLCHoklch(80.64% 0.17 325.9)
XYZxyz(66.5180, 48.4919, 96.2800)
Luminance0.4849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F796FA #99FA96
analogous
#C596FA #F796FA #FA96CB
triadic
#F796FA #FAF796 #96FAF7
tetradic
#F796FA #FAC596 #99FA96 #96CBFA
square
#F796FA #FAC596 #99FA96 #96CBFA
split-complementary
#F796FA #CBFA96 #96FAC5
monochromatic
#EE21F4 #F35CF7 #F796FA #FBD0FD #FDE2FE

Accessibility & contrast

On white

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

On black

10.70
#F796FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F796FA
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F796FA#FFFFFF#000000##000000
##F796FA1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FE
Deuteranopia (green-blind)
#A7BDF7
Tritanopia (blue-blind)
#FCA0BC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #f796fa;
/* rgb */ color: rgb(247, 150, 250);
/* oklch */ color: oklch(80.6% 0.170 325.9);
Tailwind
colors: {
  custom: {
    50: '#fbb7fc',
    500: '#f796fa',
    950: '#000000',
  },
}
SCSS
$custom: #f796fa;
$custom-light: #fbb7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f796fa",
  "rgb": {
    "r": 247,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 298.2,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.80637,
    "c": 0.16995,
    "h": 325.9
  },
  "luminance": 0.48489
}

Semantic roles & 50–950 ramp

primary
#F796FA
secondary
#D6F6D5
accent
#E60007
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F796FA

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

Preview Lab → · Contrast checker → · Palette generator →

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