#F879F7#F879F7

#F879F7 is a light, highly saturated purple. Relative luminance 0.403; OKLCH L 76.6% C 0.214 H 327.7°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#F879F7
RGBrgb(248, 121, 247)
HSLhsl(300, 90%, 72%)
HSVhsv(300, 51%, 97%)
CMYKcmyk(0%, 51.2%, 0.4%, 2.7%)
CIE-LABlab(69.72, 64.94, -41.62)
CIE-LCHlch(69.72, 77.13, 327.35°)
OKLaboklab(76.6% 0.1809 -0.1143)
OKLCHoklch(76.6% 0.214 327.7)
XYZxyz(62.3363, 40.3502, 92.4826)
Luminance0.4035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F879F7 #79F87A
analogous
#B979F8 #F879F7 #F879B8
triadic
#F879F7 #F7F879 #79F7F8
tetradic
#F879F7 #F8B979 #79F87A #79B8F8
square
#F879F7 #F8B979 #79F87A #79B8F8
split-complementary
#F879F7 #B8F879 #79F8B9
monochromatic
#EA0CE9 #F53FF4 #F879F7 #FBB3FA #FDE2FD

Accessibility & contrast

On white

2.32
#F879F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#F879F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F879F7
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F879F7#FFFFFF#000000##000000
##F879F71.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FB
Deuteranopia (green-blind)
#94B0F3
Tritanopia (blue-blind)
#FF87AD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f879f7;
/* rgb */ color: rgb(248, 121, 247);
/* oklch */ color: oklch(76.6% 0.214 327.7);
Tailwind
colors: {
  custom: {
    50: '#fda5fa',
    500: '#f879f7',
    950: '#000000',
  },
}
SCSS
$custom: #f879f7;
$custom-light: #fda5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f879f7",
  "rgb": {
    "r": 248,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 300.472,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76597,
    "c": 0.21397,
    "h": 327.7
  },
  "luminance": 0.40347
}

Semantic roles & 50–950 ramp

primary
#F879F7
secondary
#D5F6D6
accent
#E60200
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F879F7

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

Preview Lab → · Contrast checker → · Palette generator →

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