#F797FF#F797FF

#F797FF is a light, vivid purple. Relative luminance 0.491; OKLCH L 81.0% C 0.173 H 324.2°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#F797FF
RGBrgb(247, 151, 255)
HSLhsl(295, 100%, 80%)
HSVhsv(295, 41%, 100%)
CMYKcmyk(3.1%, 40.8%, 0%, 0%)
CIE-LABlab(75.53, 51.50, -36.93)
CIE-LCHlch(75.53, 63.37, 324.36°)
OKLaboklab(81% 0.1404 -0.1011)
OKLCHoklch(81% 0.173 324.2)
XYZxyz(67.4726, 49.1302, 100.5173)
Luminance0.4913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797FF #9FFF97
analogous
#C397FF #F797FF #FF97D3
triadic
#F797FF #FFF797 #97FFF7
tetradic
#F797FF #FFC397 #9FFF97 #97D3FF
square
#F797FF #FFC397 #9FFF97 #97D3FF
split-complementary
#F797FF #D3FF97 #97FFC3
monochromatic
#EE1DFF #F25AFF #F797FF #FCD4FF #FDE0FF

Accessibility & contrast

On white

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

On black

10.83
#F797FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797FF
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797FF#FFFFFF#000000##000000
##F797FF1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB3FF
Deuteranopia (green-blind)
#A6BEFC
Tritanopia (blue-blind)
#FBA2BF
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #f797ff;
/* rgb */ color: rgb(247, 151, 255);
/* oklch */ color: oklch(81.0% 0.173 324.2);
Tailwind
colors: {
  custom: {
    50: '#fbb8ff',
    500: '#f797ff',
    950: '#000000',
  },
}
SCSS
$custom: #f797ff;
$custom-light: #fbb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f797ff",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 295.385,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81,
    "c": 0.17304,
    "h": 324.2
  },
  "luminance": 0.49127
}

Semantic roles & 50–950 ramp

primary
#F797FF
secondary
#D6F7D4
accent
#E60012
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181118
muted
#868086

Preview Lab

Preview with #F797FF

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

Preview Lab → · Contrast checker → · Palette generator →

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