#F797EE#F797EE

#F797EE is a light, vivid purple. Relative luminance 0.481; OKLCH L 80.3% C 0.157 H 330.3°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#F797EE
RGBrgb(247, 151, 238)
HSLhsl(306, 86%, 78%)
HSVhsv(306, 39%, 97%)
CMYKcmyk(0%, 38.9%, 3.6%, 3.1%)
CIE-LABlab(74.88, 48.48, -28.72)
CIE-LCHlch(74.88, 56.34, 329.36°)
OKLaboklab(80.29% 0.1367 -0.0778)
OKLCHoklch(80.29% 0.157 330.3)
XYZxyz(64.8562, 48.0836, 86.7372)
Luminance0.4808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797EE #97F7A0
analogous
#D097F7 #F797EE #F797BE
triadic
#F797EE #EEF797 #97EEF7
tetradic
#F797EE #F7D097 #97F7A0 #97BEF7
square
#F797EE #F7D097 #97F7A0 #97BEF7
split-complementary
#F797EE #BEF797 #97F7D0
monochromatic
#EE25DB #F35EE5 #F797EE #FBD0F7 #FDE3FA

Accessibility & contrast

On white

1.98
#F797EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#F797EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797EE
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797EE#FFFFFF#000000##000000
##F797EE1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B0F1
Deuteranopia (green-blind)
#ACBDEB
Tritanopia (blue-blind)
#FE9EB8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #f797ee;
/* rgb */ color: rgb(247, 151, 238);
/* oklch */ color: oklch(80.3% 0.157 330.3);
Tailwind
colors: {
  custom: {
    50: '#fbb7f3',
    500: '#f797ee',
    950: '#000000',
  },
}
SCSS
$custom: #f797ee;
$custom-light: #fbb7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f797ee",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 305.625,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.80293,
    "c": 0.15732,
    "h": 330.3
  },
  "luminance": 0.4808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F797EE

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

Preview Lab → · Contrast checker → · Palette generator →

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