#F797EB#F797EB

#F797EB is a light, vivid purple. Relative luminance 0.479; OKLCH L 80.2% C 0.155 H 331.5°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#F797EB
RGBrgb(247, 151, 235)
HSLhsl(308, 86%, 78%)
HSVhsv(308, 39%, 97%)
CMYKcmyk(0%, 38.9%, 4.9%, 3.1%)
CIE-LABlab(74.77, 47.96, -27.25)
CIE-LCHlch(74.77, 55.16, 330.40°)
OKLaboklab(80.17% 0.136 -0.0737)
OKLCHoklch(80.17% 0.155 331.5)
XYZxyz(64.4191, 47.9088, 84.4353)
Luminance0.4791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797EB #97F7A3
analogous
#D397F7 #F797EB #F797BB
triadic
#F797EB #EBF797 #97EBF7
tetradic
#F797EB #F7D397 #97F7A3 #97BBF7
square
#F797EB #F7D397 #97F7A3 #97BBF7
split-complementary
#F797EB #BBF797 #97F7D3
monochromatic
#EE25D5 #F35EE0 #F797EB #FBD0F6 #FDE3FA

Accessibility & contrast

On white

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

On black

10.58
#F797EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797EB
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797EB#FFFFFF#000000##000000
##F797EB1.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B0EE
Deuteranopia (green-blind)
#ADBDE8
Tritanopia (blue-blind)
#FE9DB7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #f797eb;
/* rgb */ color: rgb(247, 151, 235);
/* oklch */ color: oklch(80.2% 0.155 331.5);
Tailwind
colors: {
  custom: {
    50: '#fbb7f1',
    500: '#f797eb',
    950: '#000000',
  },
}
SCSS
$custom: #f797eb;
$custom-light: #fbb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f797eb",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 307.5,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.80174,
    "c": 0.15469,
    "h": 331.5
  },
  "luminance": 0.47906
}

Semantic roles & 50–950 ramp

primary
#F797EB
secondary
#D6F5DA
accent
#E21F03
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F797EB

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

Preview Lab → · Contrast checker → · Palette generator →

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