#F796EE#F796EE

#F796EE is a light, vivid purple. Relative luminance 0.478; OKLCH L 80.1% C 0.159 H 330.3°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#F796EE
RGBrgb(247, 150, 238)
HSLhsl(306, 86%, 78%)
HSVhsv(306, 39%, 97%)
CMYKcmyk(0%, 39.3%, 3.6%, 3.1%)
CIE-LABlab(74.68, 48.99, -29.03)
CIE-LCHlch(74.68, 56.94, 329.35°)
OKLaboklab(80.14% 0.1382 -0.0787)
OKLCHoklch(80.14% 0.159 330.3)
XYZxyz(64.6959, 47.7631, 86.6838)
Luminance0.4776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F796EE #96F79F
analogous
#CF96F7 #F796EE #F796BD
triadic
#F796EE #EEF796 #96EEF7
tetradic
#F796EE #F7CF96 #96F79F #96BDF7
square
#F796EE #F7CF96 #96F79F #96BDF7
split-complementary
#F796EE #BDF796 #96F7CF
monochromatic
#EE24DC #F35DE5 #F796EE #FBCFF7 #FDE3FA

Accessibility & contrast

On white

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

On black

10.55
#F796EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F796EE
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F796EE#FFFFFF#000000##000000
##F796EE1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f796ee;
/* rgb */ color: rgb(247, 150, 238);
/* oklch */ color: oklch(80.1% 0.159 330.3);
Tailwind
colors: {
  custom: {
    50: '#fbb7f3',
    500: '#f796ee',
    950: '#000000',
  },
}
SCSS
$custom: #f796ee;
$custom-light: #fbb7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f796ee",
  "rgb": {
    "r": 247,
    "g": 150,
    "b": 238
  },
  "hsl": {
    "h": 305.567,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.80141,
    "c": 0.15901,
    "h": 330.3
  },
  "luminance": 0.4776
}

Semantic roles & 50–950 ramp

primary
#F796EE
secondary
#D6F5D9
accent
#E21803
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #F796EE

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

Preview Lab → · Contrast checker → · Palette generator →

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