#F79AFB#F79AFB

#F79AFB is a light, vivid purple. Relative luminance 0.498; OKLCH L 81.3% C 0.164 H 325.5°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#F79AFB
RGBrgb(247, 154, 251)
HSLhsl(298, 92%, 79%)
HSVhsv(298, 39%, 98%)
CMYKcmyk(1.6%, 38.6%, 0%, 1.6%)
CIE-LABlab(75.98, 49.24, -34.07)
CIE-LCHlch(75.98, 59.88, 325.32°)
OKLaboklab(81.28% 0.1354 -0.093)
OKLCHoklch(81.28% 0.164 325.5)
XYZxyz(67.3244, 49.8532, 97.3244)
Luminance0.4985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F79AFB #9EFB9A
analogous
#C79AFB #F79AFB #FB9ACF
triadic
#F79AFB #FBF79A #9AFBF7
tetradic
#F79AFB #FBC79A #9EFB9A #9ACFFB
square
#F79AFB #FBC79A #9EFB9A #9ACFFB
split-complementary
#F79AFB #CFFB9A #9AFBC7
monochromatic
#EE24F6 #F25FF9 #F79AFB #FCD5FD #FDE2FE

Accessibility & contrast

On white

1.91
#F79AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#F79AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F79AFB
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F79AFB#FFFFFF#000000##000000
##F79AFB1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B4FF
Deuteranopia (green-blind)
#AABFF8
Tritanopia (blue-blind)
#FCA4BF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #f79afb;
/* rgb */ color: rgb(247, 154, 251);
/* oklch */ color: oklch(81.3% 0.164 325.5);
Tailwind
colors: {
  custom: {
    50: '#fbb9fd',
    500: '#f79afb',
    950: '#000000',
  },
}
SCSS
$custom: #f79afb;
$custom-light: #fbb9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f79afb",
  "rgb": {
    "r": 247,
    "g": 154,
    "b": 251
  },
  "hsl": {
    "h": 297.526,
    "s": 92.381,
    "l": 79.412
  },
  "oklch": {
    "l": 0.81283,
    "c": 0.16424,
    "h": 325.5
  },
  "luminance": 0.4985
}

Semantic roles & 50–950 ramp

primary
#F79AFB
secondary
#D6F6D5
accent
#E60009
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181217
muted
#868185

Preview Lab

Preview with #F79AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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