#F797FD#F797FD

#F797FD is a light, vivid purple. Relative luminance 0.490; OKLCH L 80.9% C 0.171 H 324.9°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#F797FD
RGBrgb(247, 151, 253)
HSLhsl(296, 96%, 79%)
HSVhsv(296, 40%, 99%)
CMYKcmyk(2.4%, 40.3%, 0%, 0.8%)
CIE-LABlab(75.45, 51.13, -35.97)
CIE-LCHlch(75.45, 62.52, 324.88°)
OKLaboklab(80.91% 0.14 -0.0984)
OKLCHoklch(80.91% 0.171 324.9)
XYZxyz(67.1524, 49.0021, 98.8306)
Luminance0.4900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797FD #9DFD97
analogous
#C497FD #F797FD #FD97D0
triadic
#F797FD #FDF797 #97FDF7
tetradic
#F797FD #FDC497 #9DFD97 #97D0FD
square
#F797FD #FDC497 #9DFD97 #97D0FD
split-complementary
#F797FD #D0FD97 #97FDC4
monochromatic
#EE1FFB #F25BFC #F797FD #FCD3FE #FDE1FE

Accessibility & contrast

On white

1.94
#F797FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#F797FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797FD
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797FD#FFFFFF#000000##000000
##F797FD1.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB2FF
Deuteranopia (green-blind)
#A7BEFA
Tritanopia (blue-blind)
#FBA2BE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #f797fd;
/* rgb */ color: rgb(247, 151, 253);
/* oklch */ color: oklch(80.9% 0.171 324.9);
Tailwind
colors: {
  custom: {
    50: '#fbb8fe',
    500: '#f797fd',
    950: '#000000',
  },
}
SCSS
$custom: #f797fd;
$custom-light: #fbb8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f797fd",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 296.471,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.80914,
    "c": 0.17113,
    "h": 324.9
  },
  "luminance": 0.48999
}

Semantic roles & 50–950 ramp

primary
#F797FD
secondary
#D6F7D4
accent
#E6000D
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181118
muted
#868086

Preview Lab

Preview with #F797FD

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

Preview Lab → · Contrast checker → · Palette generator →

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