#F797FC#F797FC

#F797FC is a light, vivid purple. Relative luminance 0.489; OKLCH L 80.9% C 0.170 H 325.2°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#F797FC
RGBrgb(247, 151, 252)
HSLhsl(297, 94%, 79%)
HSVhsv(297, 40%, 99%)
CMYKcmyk(2%, 40.1%, 0%, 1.2%)
CIE-LABlab(75.41, 50.95, -35.49)
CIE-LCHlch(75.41, 62.09, 325.14°)
OKLaboklab(80.87% 0.1398 -0.097)
OKLCHoklch(80.87% 0.17 325.2)
XYZxyz(66.9935, 48.9385, 97.9938)
Luminance0.4894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797FC #9CFC97
analogous
#C597FC #F797FC #FC97CF
triadic
#F797FC #FCF797 #97FCF7
tetradic
#F797FC #FCC597 #9CFC97 #97CFFC
square
#F797FC #FCC597 #9CFC97 #97CFFC
split-complementary
#F797FC #CFFC97 #97FCC5
monochromatic
#EE20F9 #F25CFA #F797FC #FCD2FE #FDE1FE

Accessibility & contrast

On white

1.95
#F797FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#F797FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797FC
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797FC#FFFFFF#000000##000000
##F797FC1.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f797fc;
/* rgb */ color: rgb(247, 151, 252);
/* oklch */ color: oklch(80.9% 0.170 325.2);
Tailwind
colors: {
  custom: {
    50: '#fbb8fd',
    500: '#f797fc',
    950: '#000000',
  },
}
SCSS
$custom: #f797fc;
$custom-light: #fbb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f797fc",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 297.03,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.80871,
    "c": 0.17017,
    "h": 325.2
  },
  "luminance": 0.48936
}

Semantic roles & 50–950 ramp

primary
#F797FC
secondary
#D6F6D5
accent
#E6000B
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F797FC

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

Preview Lab → · Contrast checker → · Palette generator →

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