#F797EA#F797EA

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

Color values

HEX#F797EA
RGBrgb(247, 151, 234)
HSLhsl(308, 86%, 78%)
HSVhsv(308, 39%, 97%)
CMYKcmyk(0%, 38.9%, 5.3%, 3.1%)
CIE-LABlab(74.73, 47.79, -26.76)
CIE-LCHlch(74.73, 54.77, 330.75°)
OKLaboklab(80.14% 0.1358 -0.0724)
OKLCHoklch(80.14% 0.154 331.9)
XYZxyz(64.2750, 47.8511, 83.6766)
Luminance0.4785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797EA #97F7A4
analogous
#D497F7 #F797EA #F797BA
triadic
#F797EA #EAF797 #97EAF7
tetradic
#F797EA #F7D497 #97F7A4 #97BAF7
square
#F797EA #F7D497 #97F7A4 #97BAF7
split-complementary
#F797EA #BAF797 #97F7D4
monochromatic
#EE25D3 #F35EDF #F797EA #FBD0F5 #FDE3F9

Accessibility & contrast

On white

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

On black

10.57
#F797EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797EA
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797EA#FFFFFF#000000##000000
##F797EA1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B0ED
Deuteranopia (green-blind)
#ADBDE7
Tritanopia (blue-blind)
#FF9DB6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #f797ea;
/* rgb */ color: rgb(247, 151, 234);
/* oklch */ color: oklch(80.1% 0.154 331.9);
Tailwind
colors: {
  custom: {
    50: '#fbb7f1',
    500: '#f797ea',
    950: '#000000',
  },
}
SCSS
$custom: #f797ea;
$custom-light: #fbb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f797ea",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 308.125,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.80135,
    "c": 0.15383,
    "h": 331.9
  },
  "luminance": 0.47848
}

Semantic roles & 50–950 ramp

primary
#F797EA
secondary
#D6F5DA
accent
#E22103
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F797EA

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

Preview Lab → · Contrast checker → · Palette generator →

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