#F798FC#F798FC

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

Color values

HEX#F798FC
RGBrgb(247, 152, 252)
HSLhsl(297, 94%, 79%)
HSVhsv(297, 40%, 99%)
CMYKcmyk(2%, 39.7%, 0%, 1.2%)
CIE-LABlab(75.61, 50.44, -35.18)
CIE-LCHlch(75.61, 61.50, 325.11°)
OKLaboklab(81.02% 0.1384 -0.0962)
OKLCHoklch(81.02% 0.169 325.2)
XYZxyz(67.1551, 49.2618, 98.0477)
Luminance0.4926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798FC #9DFC98
analogous
#C598FC #F798FC #FC98CF
triadic
#F798FC #FCF798 #98FCF7
tetradic
#F798FC #FCC598 #9DFC98 #98CFFC
square
#F798FC #FCC598 #9DFC98 #98CFFC
split-complementary
#F798FC #CFFC98 #98FCC5
monochromatic
#EE21F9 #F25DFA #F798FC #FCD3FE #FDE1FE

Accessibility & contrast

On white

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

On black

10.85
#F798FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798FC
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798FC#FFFFFF#000000##000000
##F798FC1.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FF
Deuteranopia (green-blind)
#A8BEF9
Tritanopia (blue-blind)
#FCA2BE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #f798fc;
/* rgb */ color: rgb(247, 152, 252);
/* oklch */ color: oklch(81.0% 0.169 325.2);
Tailwind
colors: {
  custom: {
    50: '#fbb8fd',
    500: '#f798fc',
    950: '#000000',
  },
}
SCSS
$custom: #f798fc;
$custom-light: #fbb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f798fc",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 297,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.81022,
    "c": 0.16852,
    "h": 325.2
  },
  "luminance": 0.49259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F798FC

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

Preview Lab → · Contrast checker → · Palette generator →

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