#F798FD#F798FD

#F798FD is a light, vivid purple. Relative luminance 0.493; OKLCH L 81.1% C 0.169 H 324.9°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#F798FD
RGBrgb(247, 152, 253)
HSLhsl(296, 96%, 79%)
HSVhsv(296, 40%, 99%)
CMYKcmyk(2.4%, 39.9%, 0%, 0.8%)
CIE-LABlab(75.65, 50.63, -35.66)
CIE-LCHlch(75.65, 61.92, 324.84°)
OKLaboklab(81.07% 0.1386 -0.0975)
OKLCHoklch(81.07% 0.169 324.9)
XYZxyz(67.3140, 49.3253, 98.8844)
Luminance0.4932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798FD #9EFD98
analogous
#C598FD #F798FD #FD98D0
triadic
#F798FD #FDF798 #98FDF7
tetradic
#F798FD #FDC598 #9EFD98 #98D0FD
square
#F798FD #FDC598 #9EFD98 #98D0FD
split-complementary
#F798FD #D0FD98 #98FDC5
monochromatic
#EE20FB #F25CFC #F798FD #FCD4FE #FDE1FE

Accessibility & contrast

On white

1.93
#F798FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#F798FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798FD
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798FD#FFFFFF#000000##000000
##F798FD1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB3FF
Deuteranopia (green-blind)
#A7BFFA
Tritanopia (blue-blind)
#FBA3BF
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #f798fd;
/* rgb */ color: rgb(247, 152, 253);
/* oklch */ color: oklch(81.1% 0.169 324.9);
Tailwind
colors: {
  custom: {
    50: '#fbb8fe',
    500: '#f798fd',
    950: '#000000',
  },
}
SCSS
$custom: #f798fd;
$custom-light: #fbb8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f798fd",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 296.436,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.81065,
    "c": 0.16947,
    "h": 324.9
  },
  "luminance": 0.49322
}

Semantic roles & 50–950 ramp

primary
#F798FD
secondary
#D6F7D4
accent
#E6000E
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181118
muted
#868086

Preview Lab

Preview with #F798FD

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

Preview Lab → · Contrast checker → · Palette generator →

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