#F797EF#F797EF

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

Color values

HEX#F797EF
RGBrgb(247, 151, 239)
HSLhsl(305, 86%, 78%)
HSVhsv(305, 39%, 97%)
CMYKcmyk(0%, 38.9%, 3.2%, 3.1%)
CIE-LABlab(74.91, 48.65, -29.20)
CIE-LCHlch(74.91, 56.74, 329.03°)
OKLaboklab(80.33% 0.1369 -0.0792)
OKLCHoklch(80.33% 0.158 329.9)
XYZxyz(65.0035, 48.1425, 87.5131)
Luminance0.4814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797EF #97F79F
analogous
#CF97F7 #F797EF #F797BF
triadic
#F797EF #EFF797 #97EFF7
tetradic
#F797EF #F7CF97 #97F79F #97BFF7
square
#F797EF #F7CF97 #97F79F #97BFF7
split-complementary
#F797EF #BFF797 #97F7CF
monochromatic
#EE25DE #F35EE6 #F797EF #FBD0F8 #FDE3FB

Accessibility & contrast

On white

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

On black

10.63
#F797EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797EF
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797EF#FFFFFF#000000##000000
##F797EF1.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f797ef;
/* rgb */ color: rgb(247, 151, 239);
/* oklch */ color: oklch(80.3% 0.158 329.9);
Tailwind
colors: {
  custom: {
    50: '#fbb7f4',
    500: '#f797ef',
    950: '#000000',
  },
}
SCSS
$custom: #f797ef;
$custom-light: #fbb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f797ef",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 305,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.80334,
    "c": 0.15822,
    "h": 329.9
  },
  "luminance": 0.48139
}

Semantic roles & 50–950 ramp

primary
#F797EF
secondary
#D6F5D9
accent
#E21603
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #F797EF

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

Preview Lab → · Contrast checker → · Palette generator →

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