#F798FE#F798FE

#F798FE is a light, vivid purple. Relative luminance 0.494; OKLCH L 81.1% C 0.170 H 324.5°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#F798FE
RGBrgb(247, 152, 254)
HSLhsl(296, 98%, 80%)
HSVhsv(296, 40%, 100%)
CMYKcmyk(2.8%, 40.2%, 0%, 0.4%)
CIE-LABlab(75.69, 50.81, -36.14)
CIE-LCHlch(75.69, 62.35, 324.58°)
OKLaboklab(81.11% 0.1388 -0.0989)
OKLCHoklch(81.11% 0.17 324.5)
XYZxyz(67.4737, 49.3892, 99.7256)
Luminance0.4939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798FE #9FFE98
analogous
#C498FE #F798FE #FE98D2
triadic
#F798FE #FEF798 #98FEF7
tetradic
#F798FE #FEC498 #9FFE98 #98D2FE
square
#F798FE #FEC498 #9FFE98 #98D2FE
split-complementary
#F798FE #D2FE98 #98FEC4
monochromatic
#EE1FFD #F25BFD #F798FE #FCD5FF #FDE1FF

Accessibility & contrast

On white

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

On black

10.88
#F798FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798FE
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798FE#FFFFFF#000000##000000
##F798FE1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f798fe;
/* rgb */ color: rgb(247, 152, 254);
/* oklch */ color: oklch(81.1% 0.170 324.5);
Tailwind
colors: {
  custom: {
    50: '#fbb8ff',
    500: '#f798fe',
    950: '#000000',
  },
}
SCSS
$custom: #f798fe;
$custom-light: #fbb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f798fe",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 295.882,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81107,
    "c": 0.17042,
    "h": 324.5
  },
  "luminance": 0.49386
}

Semantic roles & 50–950 ramp

primary
#F798FE
secondary
#D6F7D4
accent
#E60010
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181218
muted
#868186

Preview Lab

Preview with #F798FE

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

Preview Lab → · Contrast checker → · Palette generator →

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