#F796ED#F796ED

#F796ED is a light, vivid purple. Relative luminance 0.477; OKLCH L 80.1% C 0.158 H 330.7°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#F796ED
RGBrgb(247, 150, 237)
HSLhsl(306, 86%, 78%)
HSVhsv(306, 39%, 97%)
CMYKcmyk(0%, 39.3%, 4%, 3.1%)
CIE-LABlab(74.64, 48.81, -28.54)
CIE-LCHlch(74.64, 56.54, 329.69°)
OKLaboklab(80.1% 0.1379 -0.0773)
OKLCHoklch(80.1% 0.158 330.7)
XYZxyz(64.5494, 47.7045, 85.9122)
Luminance0.4770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F796ED #96F7A0
analogous
#D196F7 #F796ED #F796BC
triadic
#F796ED #EDF796 #96EDF7
tetradic
#F796ED #F7D196 #96F7A0 #96BCF7
square
#F796ED #F7D196 #96F7A0 #96BCF7
split-complementary
#F796ED #BCF796 #96F7D1
monochromatic
#EE24DA #F35DE3 #F796ED #FBCFF7 #FDE3FA

Accessibility & contrast

On white

1.99
#F796ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#F796ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F796ED
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F796ED#FFFFFF#000000##000000
##F796ED1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AFF0
Deuteranopia (green-blind)
#ACBCEA
Tritanopia (blue-blind)
#FE9DB7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #f796ed;
/* rgb */ color: rgb(247, 150, 237);
/* oklch */ color: oklch(80.1% 0.158 330.7);
Tailwind
colors: {
  custom: {
    50: '#fbb7f3',
    500: '#f796ed',
    950: '#000000',
  },
}
SCSS
$custom: #f796ed;
$custom-light: #fbb7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f796ed",
  "rgb": {
    "r": 247,
    "g": 150,
    "b": 237
  },
  "hsl": {
    "h": 306.186,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.80101,
    "c": 0.15813,
    "h": 330.7
  },
  "luminance": 0.47701
}

Semantic roles & 50–950 ramp

primary
#F796ED
secondary
#D6F5D9
accent
#E21A03
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #F796ED

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

Preview Lab → · Contrast checker → · Palette generator →

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