#F879FA#F879FA

#F879FA is a light, highly saturated purple. Relative luminance 0.405; OKLCH L 76.7% C 0.217 H 326.8°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#F879FA
RGBrgb(248, 121, 250)
HSLhsl(299, 93%, 73%)
HSVhsv(299, 52%, 98%)
CMYKcmyk(0.8%, 51.6%, 0%, 2%)
CIE-LABlab(69.85, 65.45, -43.05)
CIE-LCHlch(69.85, 78.34, 326.66°)
OKLaboklab(76.74% 0.1813 -0.1184)
OKLCHoklch(76.74% 0.217 326.8)
XYZxyz(62.8030, 40.5369, 94.9404)
Luminance0.4053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F879FA #7BFA79
analogous
#B879FA #F879FA #FA79BB
triadic
#F879FA #FAF879 #79FAF8
tetradic
#F879FA #FAB879 #7BFA79 #79BBFA
square
#F879FA #FAB879 #7BFA79 #79BBFA
split-complementary
#F879FA #BBFA79 #79FAB8
monochromatic
#EC09F0 #F53EF8 #F879FA #FBB4FC #FDE2FE

Accessibility & contrast

On white

2.31
#F879FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#F879FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F879FA
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F879FA#FFFFFF#000000##000000
##F879FA1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FE
Deuteranopia (green-blind)
#93B0F6
Tritanopia (blue-blind)
#FE88AF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f879fa;
/* rgb */ color: rgb(248, 121, 250);
/* oklch */ color: oklch(76.7% 0.217 326.8);
Tailwind
colors: {
  custom: {
    50: '#fda5fc',
    500: '#f879fa',
    950: '#000000',
  },
}
SCSS
$custom: #f879fa;
$custom-light: #fda5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f879fa",
  "rgb": {
    "r": 248,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 299.07,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76737,
    "c": 0.21654,
    "h": 326.8
  },
  "luminance": 0.40533
}

Semantic roles & 50–950 ramp

primary
#F879FA
secondary
#D5F6D5
accent
#E60004
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F879FA

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

Preview Lab → · Contrast checker → · Palette generator →

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